[Pkg-shadow-devel] Bug#295416: Deleting a user group in userdel should only be done if the group is empty

Christian Perrier Christian Perrier <bubulle@debian.org>, 295416@bugs.debian.org
Mon, 18 Apr 2005 18:30:28 +0200


Bug #295416 seems to be a general design issue=A0: should userdel try to
remove the group the user it deletes belonged to if this is a "user
group".

If it doesn't, then admins are likely to keep up with dozens of
remaining user groups. Indeed, we cannot change this silently.

However, if for some (good or bad) reason, the suer groups has other
members than the currently deleted user, I agree with the bug
submitter=A0: userdel should at least issue a warning....or maybe even
*not* delete the group (and issue an "error" message).

Any thoughts=A0?


--=20