Bug#647308: [Pkg-shadow-devel] Bug#647308: Bug#647308: Bug#647308: passwd: groupmod modifies users, not just groups

2011-11-10 Thread Nicolas François
Hello, Here is how I understand your use case: * You have a user, and you want to keep its primary group GID * You want to reuse the name of the primary group for a different group (with a different GID, and unrelated to the user) For this use case, I would use the following 2 commands: * g

Bug#647308: [Pkg-shadow-devel] Bug#647308: Bug#647308: passwd: groupmod modifies users, not just groups

2011-11-09 Thread Christian PERRIER
Quoting Marc Lehmann (schm...@schmorp.de): > > > Thats a much bigger change. > > > > I wouldn't call that a "change". > > You called it like that in your previous mail, of course. ??? This mail is the first I sent in this bug report..:-) > > AFAIK, this has always been groupmod's behaviour. >

Bug#647308: [Pkg-shadow-devel] Bug#647308: Bug#647308: passwd: groupmod modifies users, not just groups

2011-11-09 Thread Marc Lehmann
On Wed, Nov 09, 2011 at 07:04:37AM +0100, Christian PERRIER wrote: > > No, it would not, the user would be unchanged - the user could, for example, > > still access all her files. > > > > Right *now*, groupmod makes all files that rely on the users group > > inaccessible. > > > > Thats a much b

Bug#647308: [Pkg-shadow-devel] Bug#647308: Bug#647308: passwd: groupmod modifies users, not just groups

2011-11-08 Thread Christian PERRIER
Quoting Marc Lehmann (schm...@schmorp.de): > No, it would not, the user would be unchanged - the user could, for example, > still access all her files. > > Right *now*, groupmod makes all files that rely on the users group > inaccessible. > > Thats a much bigger change. I wouldn't call that a "

Bug#647308: [Pkg-shadow-devel] Bug#647308: passwd: groupmod modifies users, not just groups

2011-11-08 Thread Marc Lehmann
On Sun, Nov 06, 2011 at 08:07:45PM +0100, Nicolas François wrote: > In your example, user sf-dustfinger uses sf-dustfinger as primary group. > groupmod does not change this. Thats not true, the passwd file refers to a group by number, not by name. If I modify the group database for that group t

Bug#647308: [Pkg-shadow-devel] Bug#647308: passwd: groupmod modifies users, not just groups

2011-11-06 Thread Nicolas François
Hello, On Tue, Nov 01, 2011 at 08:28:37PM +0100, debian-report...@plan9.de wrote: > > groupmod is documented to modify a group definition, but I found it also > modifies users: > >rain /home# grep dustfi /etc/passwd >sf-dustfinger:x:6155:6155::/home/sf-dustfinger:/etc/rc.cvsloginshell >

Bug#647308: passwd: groupmod modifies users, not just groups

2011-11-01 Thread Marc Lehmann
Package: passwd Version: 1:4.1.4.2+svn3283-2+squeeze1 Severity: normal groupmod is documented to modify a group definition, but I found it also modifies users: rain /home# grep dustfi /etc/passwd sf-dustfinger:x:6155:6155::/home/sf-dustfinger:/etc/rc.cvsloginshell rain /home# groupmod