Bug#295416: [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
Tue, 19 Apr 2005 07:15:51 +0200
Quoting Alexander Gattin (arg@online.com.ua):
> IMHO it should be researched where/how is userdel
> used/scripted.
As the bug report mentions, most of the time in deluser. In Debian, at
least.
Marc, CC'ing you=A0: what is your opinion about the "right" behaviour
from userdel (from deluser point of view) when a user group has an
extra member and not the user him/herself only?
-userdel should fail and not remove the user groups
-userdel should remove the user group but not fail, just issue a
warning