[Pkg-shadow-devel] Bug#430165: userdel removes also group

Joerg Hoh joerg at joerghoh.de
Fri Jun 22 21:42:50 UTC 2007


Package: passwd
Version: 4.0.18.1-10
Severity: high


userdel removes also a group with the same name as the user, if the user is
getting removed.

joerg at hydra trunk $ sudo adduser --system bugtest
Lege Systembenutzer »bugtest« (UID 110) an ...
Lege neuen Benutzer »bugtest« (UID 110) mit Gruppe »nogroup« an ...
joerg at hydra trunk $ sudo getent group bugtest
joerg at hydra trunk $ sudo addgroup --system bugtest
Lege Gruppe »bugtest« (GID 116) an ...
Fertig.
joerg at hydra trunk $ sudo getent group bugtest
bugtest:x:116:
joerg at hydra trunk $ sudo userdel bugtest
joerg at hydra trunk $ sudo getent group bugtest
joerg at hydra trunk $

This issue isn't documented nor does the output of the userdel tell
anything about that.

Joerg

-- 
What did you do to the cat? It looks half-dead. -Schroedinger's wife
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20070622/d4648abd/attachment.pgp 


More information about the Pkg-shadow-devel mailing list