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

2005-04-30 Thread Christian Perrier
tags 295416 upstream retitle 295416 userdel should not remove the user's primary group is it has other members thanks > Probably we should consider the following functional > split between adduser/deluser (i.e. high-level) and > useradd/userdel (low-level) tools: The most important split, imho,

Bug#295416: Deleting a user group in userdel should only be done if the group is empty

2005-04-30 Thread Alexander Gattin
Hi! On Sat, Apr 30, 2005 at 08:14:14PM +0200, Marc Haber wrote: > On Tue, Apr 19, 2005 at 07:15:51AM +0200, Christian Perrier wrote: > > Marc, CC'ing you : what is your opinion about the "right" behaviour > > from userdel (from deluser point of view) when a user group has an > > extra member and n

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

2005-04-30 Thread Marc Haber
On Tue, Apr 19, 2005 at 07:15:51AM +0200, Christian Perrier wrote: > Marc, CC'ing you : 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 th

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

2005-04-18 Thread Christian Perrier
Quoting Alexander Gattin ([EMAIL PROTECTED]): > 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 : what is your opinion about the "right" behaviour from userdel (from deluser point o

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

2005-04-18 Thread Alexander Gattin
tags 295416 confirmed thanks Hi! On Mon, Apr 18, 2005 at 06:30:28PM +0200, Christian Perrier wrote: > 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 : userdel should at least issue a warningor ma

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

2005-04-18 Thread Alexander Gattin
Hi! On Mon, Apr 18, 2005 at 06:30:28PM +0200, Christian Perrier wrote: > 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 : userdel should at least issue a warningor maybe even > *not* delete the gr

Bug#295416: Deleting a user group in userdel should only be done if the group is empty

2005-04-18 Thread Christian Perrier
Bug #295416 seems to be a general design issue : 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 (g