Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ groupmod(1M) — DG/UX 5.4.2A

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

groupadd(1M)

groupdel(1M)

listusers(1)

logins(1M)

useradd(1M)

userdel(1M)

usermod(1M)



groupmod(1M)                     DG/UX 5.4.2                    groupmod(1M)


NAME
       groupmod - modify a group definition on the system

SYNOPSIS
       groupmod [-g gid [-o]] [-n name] group

   where:
       gid    A non-negative decimal integer below MAXUID as defined in
              <sys/param.h>
       name   A string of printable characters specifying a new name for the
              group; it may not include a colon (:) or newline (\n)
       group  The current name of the group to be modified

DESCRIPTION
       The groupmod command modifies the definition of the specified group
       by modifying the appropriate entry in 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 99.  (Group IDs from
              0-99 are reserved.)

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

       -n name
              Specify a new name for the group.

FILES
       /etc/group

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

       0      Success.

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

       3      An invalid argument was provided to an option.

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

       6      group does not exist.

       9      name already exists as a group name.

       10     Cannot update the /etc/group file.

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





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


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