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
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.
>
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
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 "
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
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
>
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
7 matches
Mail list logo