xref: /386bsd/usr/share/man/cat1/groups.0 (revision a2142627)
1GROUPS(1)                   386BSD Reference Manual                  GROUPS(1)
2
3NNAAMMEE
4     ggrroouuppss - show group memberships
5
6SSYYNNOOPPSSIISS
7     ggrroouuppss [_u_s_e_r]
8
9DDEESSCCRRIIPPTTIIOONN
10     The ggrroouuppss command shows the groups to which you or the optionally
11     specified user belong.  Each user belongs to a group specified in the
12     password file /_e_t_c/_p_a_s_s_w_d and possibly to other groups as specified in
13     the file /_e_t_c/_g_r_o_u_p. If you do not own a file but belong to the group
14     which it is owned by then you are granted group access to the file.
15
16     When a new file is created it is given the group of the containing
17     directory.
18
19SSEEEE AALLSSOO
20     group(5),  setgroups(2)
21
22FFIILLEESS
23     /etc/passwd
24     /etc/group
25
26HHIISSTTOORRYY
27     The ggrroouupp command appeared in 4.2BSD.
28
29BBUUGGSS
30     More groups should be allowed.
31
324.2 Berkeley Distribution        July 24, 1991                               1
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67