Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ groups(1) — DG/UX 5.4R3.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chgrp(1)

newgrp(1)

setgroups(2)

group(4)



groups(1)                      DG/UX 5.4R3.00                      groups(1)


NAME
       groups - show group memberships

SYNOPSIS
       groups [ user ]

   where:
       user   A user name listed in /etc/passwd or /etc/group

DESCRIPTION
       The groups command shows the groups to which you or the optionally
       specified user belong.  Each user belongs to a group specified in the
       password file /etc/passwd and possibly to other groups as specified
       in the file /etc/group.  If you do not own a file but belong to the
       group that owns it, you are granted group access to the file.

       The algorithm used in the groups command outputs the name of the
       group specified in /etc/passwd to which the user belongs.  It then
       outputs the names of other groups specified in the file /etc/group of
       which the user is a member up to NGROUPS_MAX, where NGROUPS_MAX is
       the maximum number of simultaneous supplementary group IDs.  The
       group name specified in /etc/passwd may appear twice if it is one of
       the groups in /etc/group of which the user is a member up to
       NGROUPS_MAX.

FILES
       /etc/passwd
       /etc/group

SEE ALSO
       chgrp(1), newgrp(1), setgroups(2), group(4).


























Licensed material--property of copyright holder(s)                         1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026