groupmod — Modify a Group Definition on the System

Synopsis

/usr/sbin/groupmod [-g gid [-o]][-n name] group
					

Description

Use the groupmod command to modify the definition of the specified group by modifying the appropriate entry in the /etc/group file.

Note

The groupmod command modifies group definitions only in the /etc/group file. If a network nameservice such as NIS or NIS+ is being used to supplement the local /etc/group file with additional entries, groupmod cannot change information supplied by the network nameservice. The groupmod command does, however, verify the uniqueness of group name and group ID against the external nameservice.

Options

-g gid Specify the new group ID for the group. This group ID must be a nonnegative decimal integer ...

Get Solaris™ 8 System Administrator's Reference 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.