Red Hat Bugzilla – Bug 56118
printconf-gui runs browser as root
Last modified: 2007-04-18 12:38:14 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5+) Gecko/20011111
Description of problem:
printconf-gui can be run as user - in this case it asks for the password.
However, it should run the browser as the original user - root permissions
should only be used when required.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. close all browsers
2. run printconf-gui as user
3. enter root password
4. create a new driver if there is none
5. click "edit" on the toolbar
6. select "driver" tab
7. click "printer notes"
8. click on the link to http://www.linuxprinting.org/
Actual Results: Browser (Mozilla in my case) is run as root
Expected Results: Browser should be run as user who started printconf-gui
It may be a good idea to have an additional safety net in htmlview and use
"su $USER" there, but the real problem is in printconf-gui that should use
root permissions only when needed.
This is an issue with the gnome.help module. If there is not already a browser
running, it runs the browser as root. If there is one, it passes the request to
the browser. I cannot 'fix' this problem. If you really care, open a bug against