Bug 214310 - command in menu entry does not use explicit path to /usr/bin/firstarter
Summary: command in menu entry does not use explicit path to /usr/bin/firstarter
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: firestarter
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Damien Durand
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-07 00:09 UTC by Kahlil Hodgson
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-12-16 10:45:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kahlil Hodgson 2006-11-07 00:09:22 UTC
Description of problem:

The 'command' for the firestarter entry in the System Tools menu does not use an
explicit path.  Depending on how the user has set their path, selecting this
entry will run either /usr/bin/firestarter (good) or /usr/sbin/firestarter (bad).

Version-Release number of selected component (if applicable):

1.0.3-14-fc6

How reproducible:

1. Set PATH=/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin in your .profile

2. Log out and log in as non-root user.

3. Select firestarter from the System Tools menu

Actual results:

The firestarter command hashes to /usr/sbin/firestarter which is run as a
non-root user.  An 'Insufficient Priveleges' dialog in presented.

Expected results:

The explicit /usr/bin/firestarter command is a softlink to /sbin/consolehelper.
Running this gives you the graphical root password prompt, and if you provide
the correct root password, will run /usr/sbin/firestarter as root.

Additional info:

Compare this with the command entry for the 'Authentication' menu item.

Sorry, no idea how to fix this in the installation procedure :-)


Note You need to log in before you can comment on or make changes to this bug.