groupadd — Add (Create) a New Group Definition on a System

Synopsis

/usr/sbin/groupadd [-g gid [-o]] group
					

Description

Use the groupadd command to create a new group definition on the system by adding the appropriate entry to the /etc/group file.

Note

groupadd adds a group definition only to the local system. If a network nameservice such as NIS or NIS+ is being used to supplement the local /etc/group file with additional entries, groupadd cannot change information supplied by the network nameservice. However, groupadd does verify the uniqueness of group name and group ID against the external nameservice.

Options

-g gid Assign the group ID gid for the new group. This group ID must be a nonnegative decimal integer below MAXUID as defined in ...

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.