date and time created 88/10/19 10:58:48 by bostic
[unix-history] / usr / src / old / groups / groups.1
CommitLineData
03bfabb7
KM
1.\" Copyright (c) 1983 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
3588b3a7 5.\" @(#)groups.1 6.1 (Berkeley) %G%
03bfabb7 6.\"
3588b3a7 7.TH GROUPS 1 ""
03bfabb7
KM
8.UC 5
9.SH NAME
10groups \- show group memberships
11.SH SYNOPSIS
12.B
13groups [user]
14.SH DESCRIPTION
15The
16.I groups
17command shows the groups to which you or the optionally specified
18user belong.
19Each user belongs to a group specified in the password file
20.I /etc/passwd
21and possibly to other groups as specified in the file
22.IR /etc/group .
23If you do not own a file but belong to the group which it is owned
24by then you are granted group access to the file.
25.PP
26When a new file is created it is given
27the group of the containing directory.
28.SH "SEE ALSO"
29setgroups(2)
30.SH FILES
31/etc/passwd, /etc/group
32.SH BUGS
33More groups should be allowed.