Changing users randomly affects other users and group memberships
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GST |
Fix Released
|
Critical
|
|||
Ubuntu |
Invalid
|
Medium
|
Unassigned | ||
Dapper |
Invalid
|
Undecided
|
Unassigned | ||
Edgy |
Invalid
|
Undecided
|
Unassigned | ||
Feisty |
Invalid
|
Undecided
|
Unassigned | ||
Gutsy |
Invalid
|
Undecided
|
Unassigned | ||
Hardy |
Invalid
|
Medium
|
Unassigned | ||
gnome-system-tools (Ubuntu) |
Fix Released
|
Critical
|
Ubuntu Desktop Bugs | ||
Dapper |
Invalid
|
Undecided
|
Unassigned | ||
Edgy |
Fix Released
|
High
|
Martin Pitt | ||
Feisty |
Fix Released
|
High
|
Martin Pitt | ||
Gutsy |
Fix Released
|
High
|
Martin Pitt | ||
Hardy |
Fix Released
|
Critical
|
Ubuntu Desktop Bugs |
Bug Description
Impact:
gnome-system-tools does not keep its internal model of users and groups consistent with the real world in /etc/passwd, /etc/shadow, and /etc/group. This leads to errors like deleting a different user than the one you chose in the UI, dropping unrelated users from groups like admin (thus making the system inaccessible for administration), and similar effects.
Fix:
Update the internal world model with each operation, done in http://
Regression potential: The bug could not be fixed fully, there might be more places which need update calls. Potentially the patch could mess up the pam db even more.
TEST CASE:
1. launch users-admin
2. create a test1 user
3. create a test2 user (with admin rights)
4. create a test3 user
5. delete the test1 user
6. delete the test3 user
This will either cause test2 to not be in group admin any more, or be deleted in step 6 instead of user test3.
Changed in gnome-system-tools: | |
assignee: | pitti → desktop-bugs |
Changed in gnome-system-tools: | |
milestone: | later → gutsy-updates |
Changed in gst: | |
status: | Unknown → New |
description: | updated |
description: | updated |
Changed in gst: | |
status: | New → Fix Released |
Changed in gst: | |
status: | Unknown → Fix Released |
Changed in gst: | |
importance: | Unknown → Critical |
tags: | added: mago |
Created an attachment (id=5092)
pmount -d /dev/sda1 output