From owner-freebsd-stable Fri Aug 20 13:12:46 1999 Delivered-To: freebsd-stable@freebsd.org Received: from guru.phone.net (guru.phone.net [209.157.82.120]) by hub.freebsd.org (Postfix) with SMTP id DCBD614C12 for ; Fri, 20 Aug 1999 13:12:43 -0700 (PDT) (envelope-from mwm@phone.net) Received: (qmail 10206 invoked by uid 100); 20 Aug 1999 20:11:19 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 20 Aug 1999 20:11:19 -0000 Date: Fri, 20 Aug 1999 13:11:19 -0700 (PDT) From: Mike Meyer To: freebsd-stable@freebsd.org Subject: Re: manpages vs. reality In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 20 Aug 1999, O. Hartmann wrote: :->Well, I posted a lot about this problem ... :-> :->Manpages for /etc/group says, that each user is uniquely defined in a :->group by adding its group number via vipw in master.passwd. But this is not :->true, you must put each user separately into the groupmember field of :->the group in /etc/group. Why? Can anybody explain, why this is fact but :->the manpages are not pointing to that? My copy of the /etc/group man page says: A user is automatically in a group if that group was speci- fied in their /etc/passwd entry and does not need to be added to that group in the /etc/group file. I'm not sure how that corresponds with what you said. In any case, there are two ways someone can get into a group: that group number can be the one listed for that user in the group field of the /etc/password file, *or* they can be listed as being in that group in /etc/group. The page doesn't say anything about vipw; but using that (or other tools) to change the group in /etc/passwd isn't going to change things in /etc/group. This happens at login time; if you change any of them, you have to get a new login session to see the changes. The manual page might need to be clearer, but I'm not sure how to do that.