Name

groupmod

Synopsis

groupmod [options] group

System administration command. Modify group information for group.

Options

-g gid, --gid gid

Assign numerical group ID. (By default, the first available unreserved number is used. Many distributions reserve the first 500 IDs for system groups, some the first 1000.) The value must be unique, unless the -o option is used.

-n name

Change the group name to name.

-o

Override. Accept a nonunique gid.

-p string, --password string

Set the initial password for the group. string must already be encrypted appropriately for the system.

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.