Wireshark mailing list archives

Re: No plugins loaded as 'root' user


From: Jeff Morriss <jeff.morriss.ws () gmail com>
Date: Mon, 18 Jan 2010 11:34:35 -0500

luuk wrote:
Some problem with the latest 1.3.2 branch, plugins work perfectly until
you run it as root. 
Anybody who can tell me what I'm forgetting? Or a how-to install my own
build so every user can use it?


On Mon, 2010-01-18 at 09:53 +0100, luuk wrote:
I have build the whole 1.2.5 branch with my new plugin and it works
perfectly when opening a capture-file made with the root user. Now I'm
trying to do a live capture as the root user (sudo) but I noticed that
no plugins are loaded. The plugins are loaded fine when I run wireshark
as the same user that made the build. 

Do I have to install the plugins or wireshark somewhere so every user
(including root) can run wireshark? Or do I have to copy the
plugin-libraries manually to a directory?

Are you running from the build tree?  plugins won't be picked up from 
the build tree if you're running as root (on the presumption that you 
didn't compile it as root and root shouldn't trust your build tree to be 
"safe").  If you install Wireshark (such that the plugins get installed 
in /usr/local or wherever), the plugins should be picked up even when 
run as root.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: