Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ groupadd(1M) — DG/UX R4.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

groupdel(1M)

groupmod(1M)

listusers(1)

logins(1M)

useradd(1M)

userdel(1M)

usermod(1M)



groupadd(1M)                     DG/UX R4.11                    groupadd(1M)


NAME
       groupadd - add (create) a new group definition on the system

SYNOPSIS
       groupadd [-g gid [-o]] group

   where:
       gid    A non-negative decimal integer below MAXUID as defined in the
              <sys/param.h> header file.
       group  A string of printable characters that specifies the name of
              the new group.  It may not include a colon (:) or newline
              (\n).

DESCRIPTION
       The groupadd command creates a new group definition on the system by
       adding the appropriate entry to the /etc/group file.

       The following options are available:

       -g gid Set the group id for the new group.  The group ID defaults to
              the next available (unique) number above the highest number
              currently assigned.  For example, if groups 100, 105, and 200
              are assigned as groups, the next default group number will be
              201.  (Group IDs from 0-99 are reserved.)

       -o     Allow the gid to be duplicated (non-unique).

FILES
       /etc/group

DIAGNOSTICS
       The groupadd command exits with one of the following values:

       0      Success.

       2      Invalid command syntax.  A usage message for the groupadd
              command is displayed.

       3      An invalid argument was provided to an option.

       4      gid is not unique (when -o option is not used).

       9      group is not unique.

       10     Cannot update the /etc/group file.

SEE ALSO
       groupdel(1M), groupmod(1M), listusers(1), logins(1M), useradd(1M),
       userdel(1M), usermod(1M).


Licensed material--property of copyright holder(s)

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