"GDM2 Setup in Launchpad" should open browser as logged in user

Bug #572950 reported by Alexey Kotlyarov
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
GDM2Setup
Confirmed
Critical
Growlf

Bug Description

GDM2Setup link in About dialog opens the browser as root.

Revision history for this message
Growlf (growlf) wrote :

This is a side effect of using the older "sudo" method of runing the application and needs to be replaced with the newer "policy" method.

Thank you for this report.

Changed in gdm2setup:
status: New → Confirmed
assignee: nobody → Growlf (growlf)
importance: Undecided → Critical
Revision history for this message
Scott Severance (scott.severance) wrote :

Several notes:

1. Even in sudo, it's easy to find the logged-in user. Just look at $SUDO_USER (or, from a terminal type "sudo env" to discover sudo's environment). See also $SUDO_UID and $SUDO_GID.

2. Please don't switch to the policy method. It's a scourge since it ignores the settings in /etc/sudoers without providing an alternative. Thus, the user has no control over the system any longer. Too many apps are converting to that method. Please, let's not have another. Sudo works very well.

3. GDM2Setup shouldn't unconditionally launch Firefox. My default browser is Chrome, and I'm using a netbook with limited RAM. Starting a Firefox instance over-stresses my system. Just launch the default browser (such as by calling gnome-open).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.