[Pkg-shadow-devel] Bug#647308: Bug#647308: Bug#647308: passwd: groupmod modifies users, not just groups
bubulle at debian.org
Wed Nov 9 06:04:37 UTC 2011
Quoting Marc Lehmann (schmorp at 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
> Thats a much bigger change.
I wouldn't call that a "change". AFAIK, this has always been
What you would like, from what I understand, is an option in groupmod
to NOT change users' primary group when the modified group is the
primary group for some users.
That's perfectly understandable, for sure, but this is not a reason
for changing the default behaviour of groupmod (principle of least surprise).
> Right now, the utility of groupmod is severely diminished because it isn't
> possible to modify the group database without ill sideeffect with it.
> In effect, this amounts to writing ones own groupmod.
It's probably only a specific switch for groupmod that's needed in
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the Pkg-shadow-devel