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)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004