1groups(1B)         SunOS/BSD Compatibility Package Commands         groups(1B)
2
3
4

NAME

6       groups - display a user's group memberships
7

SYNOPSIS

9       /usr/ucb/groups [user]...
10
11

DESCRIPTION

13       With  no  arguments,   groups  displays the groups to which you belong;
14       else it displays the groups  to  which  the  user  belongs.  Each  user
15       belongs  to a group specified in the password file /etc/passwd and pos‐
16       sibly to other groups as specified in the file /etc/group.  If  you  do
17       not  own  a  file but belong to the group which it is owned by then you
18       are granted group access to the file.
19

FILES

21       /etc/passwd
22
23
24       /etc/group
25
26

ATTRIBUTES

28       See attributes(5) for descriptions of the following attributes:
29
30
31
32
33       ┌─────────────────────────────┬─────────────────────────────┐
34       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
35       ├─────────────────────────────┼─────────────────────────────┤
36       │Availability                 │SUNWscpu                     │
37       └─────────────────────────────┴─────────────────────────────┘
38

SEE ALSO

40       getgroups(2), attributes(5)
41

NOTES

43       This command is obsolete.
44
45
46
47SunOS 5.11                        14 Sep 1992                       groups(1B)
Impressum