Commit | Line | Data |
---|---|---|
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 | |
10 | groups \- show group memberships | |
11 | .SH SYNOPSIS | |
12 | .B | |
13 | groups [user] | |
14 | .SH DESCRIPTION | |
15 | The | |
16 | .I groups | |
17 | command shows the groups to which you or the optionally specified | |
18 | user belong. | |
19 | Each user belongs to a group specified in the password file | |
20 | .I /etc/passwd | |
21 | and possibly to other groups as specified in the file | |
22 | .IR /etc/group . | |
23 | If you do not own a file but belong to the group which it is owned | |
24 | by then you are granted group access to the file. | |
25 | .PP | |
26 | When a new file is created it is given | |
27 | the group of the containing directory. | |
28 | .SH "SEE ALSO" | |
29 | setgroups(2) | |
30 | .SH FILES | |
31 | /etc/passwd, /etc/group | |
32 | .SH BUGS | |
33 | More groups should be allowed. |