Make LCALL like LJMP and avoid segmentation faults parsing segments (!).
[unix-history] / usr / src / old / groups / groups.1
CommitLineData
d9d7a9f0
CL
1.\" Copyright (c) 1983 1990 The Regents of the University of California.
2.\" All rights reserved.
03bfabb7 3.\"
d9d7a9f0 4.\" %sccs.include.redist.man%
03bfabb7 5.\"
d0719240 6.\" @(#)groups.1 6.4 (Berkeley) %G%
d9d7a9f0 7.\"
ee9b0a0a
CL
8.Vx
9.Vx
d9d7a9f0
CL
10.Dd
11.Dt GROUPS 1
12.Os BSD 4.2
13.Sh NAME
14.Nm groups
15.Nd show group memberships
16.Sh SYNOPSIS
17.Nm groups
18.Op Ar user
19.Sh DESCRIPTION
03bfabb7 20The
d9d7a9f0 21.Nm groups
03bfabb7
KM
22command shows the groups to which you or the optionally specified
23user belong.
24Each user belongs to a group specified in the password file
d9d7a9f0 25.Pa /etc/passwd
03bfabb7 26and possibly to other groups as specified in the file
d9d7a9f0 27.Pa /etc/group .
03bfabb7
KM
28If you do not own a file but belong to the group which it is owned
29by then you are granted group access to the file.
d9d7a9f0 30.Pp
03bfabb7
KM
31When a new file is created it is given
32the group of the containing directory.
d9d7a9f0
CL
33.Sh SEE ALSO
34.Xr group 5 ,
35.Xr setgroups 2
36.Sh FILES
37.Dw /etc/passwd
38.Di L
39.Dp Pa /etc/passwd
40.Dp Pa /etc/group
41.Dp
42.Sh HISTORY
43.Nm Group
44appeared in 4.2 BSD.
45.Sh BUGS
03bfabb7 46More groups should be allowed.