groupdel — Delete a Group Definition from the System

Synopsis

/usr/sbin/groupdel group
					

Description

Use the groupdel command to delete a group definition from the system. It deletes the appropriate entry from the /etc/group file.

Note

The groupdel command deletes a group definition only from the local /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, groupdel cannot change information supplied by the network nameservice.

Operands

group An existing group name to be deleted.

Exit Status

0 Success.
2 Invalid command syntax. A usage message for the groupdel command is displayed.
6 group does not exist.
10 Cannot update the /etc/group file.

Files

/etc/group ...

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.