users-admin removes privileges after deleting user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-system-tools (Ubuntu) |
Fix Released
|
Undecided
|
Ubuntu Desktop Bugs | ||
Dapper |
Confirmed
|
High
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: gnome-system-tools
We create a temporary user during installation. Later we create the real users (some with admin privileges) and then delete the initially created user. We find that deleting the initial temp user causes other admins to be removed from many of the groups to which they were previously assigned (including admin).
Steps to reproduce:
1) Install dapper and create a temporary user 'temp'
2) After installation create a new user 'newuser' using users-admin with admin privileges (we also use a non-standard UID if this matters, something >13000)
3) Delete the initial temp user using users-admin and apply.
4) Look at /etc/group and see that newuser has been removed from most of the optional groups, including admin.
This has been reproduced on multiple machines which have been updated to the latest packages before the creation of the second user.
Bug 51201 confirms this, as does a friend's experience. This is potentially disastrous for systems.