groupdel(1M)


groupdel -- delete a group definition from the system

Synopsis

groupdel group

Description

The groupdel command removes a group definition from the system by deleting the entry for the relevant group from the /etc/group file. It does not, however, remove the group ID (GID) from the password file; the deleted GID remains in effect for any directories and files that have it.

The following options are available:

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

Files

/etc/group

Diagnostics

The groupdel command exits with 0 on success, or displays error messages under the following conditions:

References

groupadd(1M), groupmod(1M), logins(1M), useradd(1M), userdel(1M), usermod(1M), users(1bsd)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.