Wireshark-bugs: [Wireshark-bugs] [Bug 4657] Wireshark runs firefox as root

Date: Thu, 8 Apr 2010 09:11:30 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4657

Gerald Combs <gerald@xxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gerald@xxxxxxxxxxxxx

--- Comment #2 from Gerald Combs <gerald@xxxxxxxxxxxxx> 2010-04-08 09:11:28 PDT ---
In 1.0 we open the browser by running the program specified in the
prefs.gui_webbrowser preference. In 1.2 and later we use xdg-open if it's
installed and prefs.gui_webbrowser if it's not. In either case we don't set the
user ID beforehand.

However, why are you running as root? This is something we strongly recommend
against in the documentation. From doc/README.packaging:

    WIRESHARK CONTAINS NEARLY TWO MILLION LINES OF SOURCE CODE. DO NOT RUN
    THEM AS ROOT.

If your distribution runs Wireshark as root then it was packaged wrong.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.