[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    groupdel(1M) manual page Table of Contents

Name

groupdel - delete a group definition from the system

Synopsis

/usr/sbin/groupdel group

Availability

SUNWcsu

Description

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

Options

group
A string of printable characters that specifies the group to be deleted.

Files

/etc/group

See Also

users(1B) , groupadd(1M) , groupmod(1M) , logins(1M) , useradd(1M) , userdel(1M) , usermod(1M)

Diagnostics

The groupdel command exits with one of the following values:
  1. Success.
  2. Invalid command syntax. A usage message for the groupdel command is displayed.
  3. group does not exist.
  4. Cannot update the /etc/group file.

Notes

groupdel only deletes a group definition that is in 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.


Table of Contents