C. Gatzemeier
2010-May-26 09:03 UTC
[Adduser-devel] Bug#545714: deluser does not remove empty main group when the suer is member of it
By not adding the user (a second time) to its maingroup in /etc/groups, adduser identifies the group as a user private group, and is able to remove the group together with the user, if the group is not used otherwise (standard case for debian UPGs).[0] So "deluser does not remove empty main group when the suer is member of it" because the "suer" ;-) in his own group means, the group was not created by the means of adduser with user private groups enabled. Does that answer your question so you can close 545714 [0]http://lists.alioth.debian.org/pipermail/adduser-devel/2008-February/003161.html
Marc Haber
2011-Nov-23 08:52 UTC
[Adduser-devel] Bug#545714: deluser does not remove empty main group when the suer is member of it
retitle #545714 deluser does not remove empty main group when the user is member of it thanks Hi Milan, On Wed, May 26, 2010 at 11:03:19AM +0200, C. Gatzemeier wrote:> Does that answer your question so you can > close 545714May I remind? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062
Debian Bug Tracking System
2011-Nov-23 08:54 UTC
[Adduser-devel] Processed: Re: Bug#545714: deluser does not remove empty main group when the suer is member of it
Processing commands for control at bugs.debian.org:> retitle #545714 deluser does not remove empty main group when the user is member of itBug #545714 [adduser] deluser does not remove empty main group when the suer is member of it Changed Bug title to ''deluser does not remove empty main group when the user is member of it'' from ''deluser does not remove empty main group when the suer is member of it''> thanksStopping processing here. Please contact me if you need assistance. -- 545714: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545714 Debian Bug Tracking System Contact owner at bugs.debian.org with problems
Milan Bouchet-Valat
2011-Nov-23 12:12 UTC
[Adduser-devel] Bug#545714: deluser does not remove empty main group when the suer is member of it
Le mercredi 23 novembre 2011 ? 09:52 +0100, Marc Haber a ?crit :> retitle #545714 deluser does not remove empty main group when the user is member of it > thanks > > Hi Milan, > > On Wed, May 26, 2010 at 11:03:19AM +0200, C. Gatzemeier wrote: > > Does that answer your question so you can > > close 545714 > > May I remind?Ah, sorry, for some reason I must have missed that question. It''s sad because back at the time I would have been very interested in the reply. ;-) But now I don''t even remember what solution I found. I think user-admin no longer adds new users to their main group (at least I can''t find such an operation in the code), but I can''t find when that behavior was changed. I still think the error message that is printed when the user was *not* member of his main group, which is: "Warning: group X is now empty." should be fixed, as it is clearly wrong. This warning should be printed when the group *is not* removed ; and when the group is removed, deluser would better say: "Empty group X has been automatically deleted."