Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (9905 KB)
groupadd(1M)Name | Synopsis | Description | Options | Operands | Exit Status | Files | Attributes | See Also | Notes Name
Synopsis/usr/sbin/groupadd [-g gid [-o]] group DescriptionThe groupadd command creates a new group definition on the system by adding the appropriate entry to the /etc/group file. Options
The following options are supported: Operands
The following operands are supported: Exit Status
The following exit values are returned: FilesAttributesSee attributes(5) for descriptions of the following attributes:
See Alsousers(1B), groupdel(1M), groupmod(1M), grpck(1M), logins(1M), pwck(1M), useradd(1M), userdel(1M), usermod(1M), group(4), attributes(5) Notesgroupadd only adds a group definition to the local system. If a network name service 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 name service. However, groupadd will verify the uniqueness of group name and group ID against the external name service. If the number of characters in a group entry exceeds 2047, group maintenance commands, such as groupdel(1M) and groupmod(1M), fail. Name | Synopsis | Description | Options | Operands | Exit Status | Files | Attributes | See Also | Notes |
||||