groupdel(8) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

groupdel(8)

System Administration Commands                                     groupdel(8)



NAME
       groupdel - delete a group definition from the system

SYNOPSIS
       /usr/sbin/groupdel [-S repository] group

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


       In addition to  solaris.group.manage  authorization,  an  administrator
       must  have  either  solaris.group.assign or a matching authorization of
       the form solaris.group.assign/groupname to delete a group.  The  autho‐
       rization  solaris.group.assign/groupname  is  automatically assigned to
       the administrator who created the group.

OPTIONS
       groupdel supports the following option.

       -S repository

           The repository specifies which name service will  be  updated.  The
           valid  repositories  are  files and ldap. The default repository is
           files. When the repository is ldap, both the LDAP server and client
           must  be  configured with enableShadowUpdate. See ldapclient(8) for
           details.


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(7) for descriptions of the following attributes:


       tab()  box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
       TRIBUTE VALUE _ Availabilitysystem/core-os


SEE ALSO
       group(5), attributes(7),  groupadd(8),  groupmod(8),  logins(8),  user‐
       add(8), userdel(8), usermod(8)

NOTES
       The  groupdel  utility  deletes a group definition that is in the group
       database in the repository.


       groupdel fails if a group entry (a single line in  /etc/group)  exceeds
       2047 characters.



Oracle Solaris 11.4               27 Mar 2020                      groupdel(8)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3