BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / groups.0
GROUPS(1) UNIX Programmer's Manual GROUPS(1)
N\bNA\bAM\bME\bE
groups - show group memberships
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
g\bgr\bro\bou\bup\bps\bs [\b[u\bus\bse\ber\br]\b]
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
The _\bg_\br_\bo_\bu_\bp_\bs command shows the groups to which you or the
optionally specified user belong. Each user belongs to a
group specified in the password file /_\be_\bt_\bc/_\bp_\ba_\bs_\bs_\bw_\bd and possi-
bly to other groups as specified in the file /_\be_\bt_\bc/_\bg_\br_\bo_\bu_\bp. If
you do not own a file but belong to the group which it is
owned by then you are granted group access to the file.
When a new file is created it is given the group of the con-
taining directory.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
setgroups(2)
F\bFI\bIL\bLE\bES\bS
/etc/passwd, /etc/group
B\bBU\bUG\bGS\bS
More groups should be allowed.
Printed 7/9/88 April 29, 1985 1