ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] own dissector doesn't work with root

From: "Luis EG Ontanon" <luis@xxxxxxxxxxx>
Date: Tue, 6 May 2008 16:39:15 +0200
Wireshark won't load plugins not owned by root if running as root.
That is to avoid someone writing a plugin that (e.g.) executes a shell
with root priviledges in a system where wireshark is allowed by sudo.

# chown root your_plugin

By the way WS as of 1.0 does not require to be run as root anymore, it
runs setuid and drops privileges ASAP.

Luis


On Tue, May 6, 2008 at 12:42 PM, Stephan Neumann
<neumann_stephan@xxxxxxx> wrote:
> I have written an own dissector which works without problems, but when I start wireshark as the root ("sudo" or "su") my plugin is not available.
>
>  Has anybody an idee why it is so?
>  and has anybody an idee how my own dissector is available as a root?
>  --
>  249 Spiele für nur 1 Preis. Die GMX Spieleflatrate schon ab 9,90 Euro.
>  Neu: Asterix bei den Olympischen Spielen: http://flat.games.gmx.de
>  _______________________________________________
>  Wireshark-dev mailing list
>  Wireshark-dev@xxxxxxxxxxxxx
>  http://www.wireshark.org/mailman/listinfo/wireshark-dev
>



-- 
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan