Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 1997 17:34:34 +1100
From:      davidn@unique.usn.blaze.net.au (David Nugent)
To:        jmcla@ocala.cs.miami.edu (Joe Marcus Clarke)
Cc:        current@freebsd.org
Subject:   Re: FreeBSD-SNAP-970118
Message-ID:  <Mutt.19970126173434.davidn@labs.blaze.net.au>
In-Reply-To: <Pine.SGI.3.95.970125214008.5343A-100000@ocala.cs.miami.edu>; from "Joe \"Marcus\" Clarke" on Jan 25, 1997 21:41:50 -0500
References:  <Pine.SGI.3.95.970125214008.5343A-100000@ocala.cs.miami.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
"Joe \"Marcus\" Clarke" writes:
> I have noticed that the adduser command under this SNAP does not
> correctly add users to /etc/group.  I have to manually edit this file to
> get users to correspond to their respective groups.

Are you talking about primary or secondary group memberships?

A user's primary group membership should not appear in /etc/groups
if that group's uid is in /etc/master.passwd. That is redundant.

The only exception to this is when adding a member to group wheel.
su only looks at /etc/group in this case (which, actually, I consider
a bug, but not a large one).


Regards,

David Nugent - Unique Computing Pty Ltd - Melbourne, Australia
Voice +61-3-9791-9547  Data/BBS +61-3-9792-3507  3:632/348@fidonet
davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/



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