Creating user with username 'admin' hoses admin group, sudo config
Bug #236305 reported by
Roy Badami
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GST |
Fix Released
|
Critical
|
|||
gnome-system-tools (Baltix) |
New
|
Undecided
|
Unassigned | ||
gnome-system-tools (Ubuntu) |
Fix Released
|
Critical
|
Martin Pitt | ||
Hardy |
Fix Released
|
Undecided
|
Unassigned | ||
Intrepid |
Fix Released
|
Undecided
|
Unassigned | ||
Jaunty |
Fix Released
|
Critical
|
Jonathan Davies |
Bug Description
If you create a new user in the User and Groups tool, and specify 'admin' as the username, this ends up deleting the existing admin group when it creates the new user's group. The most visible effects of this is are that sudo stops working, and that it is no longer possible to administer the system using the GUI tools.
N.B. before attempting to repeat this, take a backup of /etc/group, and verify that you have means to gain root without using sudo!
Similar problems, although less visible, might exist when creating users whose username matches any existing group; however I have not verified this.
Observed in Hardy.
Changed in gnome-system-tools: | |
status: | New → Confirmed |
Changed in gnome-system-tools (Ubuntu): | |
importance: | Undecided → Critical |
Changed in gst: | |
status: | Unknown → New |
tags: |
added: verification-done removed: verification-needed |
Changed in gst: | |
importance: | Unknown → Critical |
status: | New → Fix Released |
To post a comment you must log in.
I can confirm this bug. As Roy cautions, this bug can result in an unusable system. I was locked out of all administer functions and ultimately decided to nuke from orbit.