Date: Fri, 20 Aug 1999 13:11:19 -0700 (PDT) From: Mike Meyer <mwm@phone.net> To: freebsd-stable@freebsd.org Subject: Re: manpages vs. reality Message-ID: <Pine.BSF.4.10.9908201300000.8565-100000@guru.phone.net> In-Reply-To: <Pine.BSF.4.10.9908202115070.479-100000@ipamzlx.physik.uni-mainz.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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. <mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908201300000.8565-100000>