Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2003 13:35:30 +0200
From:      Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   wrong manpage for groups(1) and id(1)?
Message-ID:  <20030708113530.GE1587@martin.kleinerdrache.org>

next in thread | raw e-mail | index | archive | help
Hello,

 From the id(1):

The historic groups(1) command is equivalent to ``id -Gn [user]''.

 From the groups(1):

The groups utility has been obsoleted by the id(1) utility, and is 
equivalent to ``id -Gn [user]''.

martin% uname -a
FreeBSD martin.kleinerdrache.org 4.8-STABLE FreeBSD 4.8-STABLE #3: Sun 
Jun 22 21:36:41 CEST 2003     martin@martin.kleinerdrache.org:/usr/obj/
usr/src/sys/MYKERNEL  i386

So there is my output:

martin% id -Gn
martin wheel operator cvsuser littlehouse
martin% groups
martin wheel operator cvsuser littlehouse

seems to be aequivalent, but:

martin% id -Gn martin
martin wheel operator cvsuser littlehouse mounters

So, mounters is a new group which I created with root.  When I do not 
log out as the user martin, I get this error.

The question is:  Why this behaviour?

And:  What can I do to make martin recognizing the new group without 
logging out (and in)?

Martin



-- 
If you've got an idea and need help,
or just need general encouragement,
write me a message. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030708113530.GE1587>