This bug report is being closed due to your last comment regarding this
being fixed with an update. For future reference you can manage the
status of your own bugs by clicking on the current status in the yellow
line and then choosing a new status in the revealed drop down box. You
can learn more
Included in the latest adduser packages.
--
deluser --system deletes group with same name as user even if user is not in
this group !
https://bugs.launchpad.net/bugs/45970
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
--
ubuntu-bugs
In Feisty Fawn userdel manual there is section CAVEATS which says also:
If USERGROUPS_ENAB is defined to yes in /etc/login.defs, userdel will
delete the group with the same
name as the user. To avoid inconsistencies in the passwd and group
databases, userdel will check that
We are mixing deluser and userdel. :-)
userdel is from shadow package and deluser is from adduser. Adduser
contains just bunch of scripts for dealing with useradd and userdel.
userdel has in manual note that I've posted before, but deluser does not
have.
I actually do not know how patching
Hm, that would be a workaround ... But the real solution would be if
userdel prints it.
Anyway, I'll include the patch to the Debian package. Thank you.
--
deluser --system deletes group with same name as user even if user is not in
this group !
https://bugs.launchpad.net/bugs/45970
You
Hi
At least this should be documented in userdel(8) and deluser should
print a warning when it's removing an empty group.
--
deluser --system deletes group with same name as user even if user is not in
this group !
https://bugs.launchpad.net/bugs/45970
You received this bug notification
Hi.
From userdel.c, line 172, (shadow version 4.0.18.1): -- this is actually
called when you do sudo userdel bugtest
/*
* we've removed their name from all the groups above, so
* now if they have a group with the same name as their
* user name, with no members,
This is a bug in userdel (package passwd); deluser just calls userdel
for doing the actual job, but userdel also removes the group.
[EMAIL PROTECTED] trunk $ sudo adduser --system bugtest
Lege Systembenutzer »bugtest« (UID 110) an ...
Lege neuen Benutzer »bugtest« (UID 110) mit Gruppe »nogroup«