users-admin should leave adduser handle main group creation
Bug #488158 reported by
ceg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GST |
Fix Released
|
Undecided
|
Unassigned | ||
adduser (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
gnome-system-tools (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: gnome-system-tools
I have noticed differences with the adduser command.
Are system-tools user and groups following policy and using debians useradd/adduser facility with its administration hooks?
Debian policy states: "Packages other than base-passwd must not modify /etc/passwd, /etc/shadow, /etc/group or /etc/gshadow." (http://
Changed in gnome-system-tools (Ubuntu): | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
Funny way of reporting a bug... How can you suspect there's a problem if you don't know whether adduser/deluser are used? ;-)
Can you explain the differences you've spotted with adduser? I'm aware of a few issues that we'd like to fix for the next release, namely that we set the password using usermod, encrypting it ourselves (erk!). We also create the main group manually, which is maybe a bad idea. Else I think we behave the same, since users are created with adduser. Naturally, the user can provide custom settings for home or UID, and we provide user profiles to make this easier, so we can't fully rely on adduser's default for that.
BTW, the part of the Debian policy you quote is not really clear to me, since adduser is not even part of base-passwd. This package only contains config files that won't modify themselves on their own...