xref: /csrg-svn/old/groups/groups.1 (revision 50780)
143695Scael.\" Copyright (c) 1983 1990 The Regents of the University of California.
243695Scael.\" All rights reserved.
319712Smckusick.\"
450528Scael.\" %sccs.include.redist.roff%
519712Smckusick.\"
6*50780Sbostic.\"	@(#)groups.1	6.6 (Berkeley) 08/05/91
743695Scael.\"
843695Scael.Dd
943695Scael.Dt GROUPS 1
1043695Scael.Os BSD 4.2
1143695Scael.Sh NAME
1243695Scael.Nm groups
1343695Scael.Nd show group memberships
1443695Scael.Sh SYNOPSIS
1543695Scael.Nm groups
1643695Scael.Op Ar user
1743695Scael.Sh DESCRIPTION
1819712SmckusickThe
1943695Scael.Nm groups
2019712Smckusickcommand shows the groups to which you or the optionally specified
2119712Smckusickuser belong.
2219712SmckusickEach user belongs to a group specified in the password file
23*50780Sbosticand possibly to other groups.
24*50780SbosticIf you do not own a file but belong to the group by which it is owned,
25*50780Sbosticthen you are granted group access to the file.
2643695Scael.Pp
27*50780SbosticWhen a new file is created it is given the group of the containing
28*50780Sbosticdirectory.
2943695Scael.Sh SEE ALSO
30*50780Sbostic.Xr id 1 ,
3143695Scael.Xr group 5 ,
3243695Scael.Sh HISTORY
3350528ScaelThe
34*50780Sbostic.Nm groups
35*50780Sbosticcommand appeared in
3650528Scael.Bx 4.2 .
37