Available in

(1m) (8) (8)/cs (8)/fr (8)/it (8)/ja (8)/pl (8)/pt_BR (8)/ru (8)/sv (8)/tr (8)/zh_CN (8)/zh_TW

TOC

groupdel(1M)            System Administration Commands            groupdel(1M)



NAME

       groupdel - delete a group definition from the system

SYNOPSIS

       /usr/sbin/groupdel group

DESCRIPTION

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

OPERANDS

       group An existing group name to be deleted.

EXIT STATUS

       The following exit values are returned:

       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
             system file containing group definitions

ATTRIBUTES

       See attributes(5) for descriptions of the following attributes:


       +-----------------------------+-----------------------------+
       |      ATTRIBUTE TYPE         |      ATTRIBUTE VALUE        |
       +-----------------------------+-----------------------------+
       |Availability                 |SUNWcsu                      |
       +-----------------------------+-----------------------------+

SEE ALSO

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

NOTES

       The groupdel utility 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.



SunOS 5.9                         14 Sep 1992                     groupdel(1M)

COMMENTS

Add your comment here. Whitespace and linebreaks are preserved. URLs are linked automatically.
CAPTCHA

No HTML allowed. URLs will be linked with nofollow attribute. Whitespace is preserved.