BSD 4_4 development
[unix-history] / usr / share / man / cat5 / group.0
GROUP(5) BSD Programmer's Manual GROUP(5)
N\bNA\bAM\bME\bE
g\bgr\bro\bou\bup\bp - format of the group permissions file
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
The file <_\b/_\be_\bt_\bc_\b/_\bg_\br_\bo_\bu_\bp> consists of newline separated ASCII records, one
per group, containing four colon `:' separated fields. These fields are
as follows:
group Name of the group.
passwd Group's _\be_\bn_\bc_\br_\by_\bp_\bt_\be_\bd password.
gid The group's decimal ID.
member Group members.
The _\bg_\br_\bo_\bu_\bp field is the group name used for granting file access to users
who are members of the group. The _\bg_\bi_\bd field is the number associated
with the group name. They should both be unique across the system (and
often across a group of systems) since they control file access. The
_\bp_\ba_\bs_\bs_\bw_\bd field is an optional _\be_\bn_\bc_\br_\by_\bp_\bt_\be_\bd password. This field is rarely
used and an asterisk is normally placed in it rather than leaving it
blank. The _\bm_\be_\bm_\bb_\be_\br field contains the names of users granted the priv-
iledges of _\bg_\br_\bo_\bu_\bp. The member names are separated by commas with out
spaces or newlines. A user is automatically in a group if that group was
specified in their _\b/_\be_\bt_\bc_\b/_\bp_\ba_\bs_\bs_\bw_\bd entry and does not need to be added to
that group in the _\b/_\be_\bt_\bc_\b/_\bg_\br_\bo_\bu_\bp _\bf_\bi_\bl_\be_\b.
F\bFI\bIL\bLE\bES\bS
/etc/group
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
setgroups(2), initgroups(3), crypt(3), passwd(1), passwd(5)
B\bBU\bUG\bGS\bS
The passwd(1) command does not change the g\bgr\bro\bou\bup\bp passwords.
H\bHI\bIS\bST\bTO\bOR\bRY\bY
A g\bgr\bro\bou\bup\bp file format appeared in Version 6 AT&T UNIX.
4.4BSD June 5, 1993 1