*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> groupdel (8)              
Title
Content
Arch
Section
 

groupdel(8)

Contents


NAME    [Toc]    [Back]

       groupdel - Deletes a group definition from the system

SYNOPSIS    [Toc]    [Back]

       /usr/sbin/groupdel [-P] [-x extended_option] group_name

OPTIONS    [Toc]    [Back]

       Deletes a PC group only.  Extended options are of the form
       attribute=value.  You may enter  any  number  of  extended
       options  (within  the character limit of the command line)
       by separating each option  with  a  space.  Alternatively,
       they  may  be  entered separately following the -x switch.
       Note that some extended options are only  available  under
       specific system environments.

              The  following  sets  of extended_option attributes
              are available:  Indicates  that  the  group  to  be
              deleted  is  local.  The value 0 indicates that the
              group is to be deleted from  some  other  database,
              either the NIS or LDAP.  The value 1 indicates that
              a group is to be deleted from the NIS database. You
              must  be  on  the NIS master to delete a NIS group.
              The value 1 indicates that the group to be  deleted
              is  from  an  LDAP server. LDAP must be configured,
              and you must be on the LDAP server or  on  an  LDAP
              client with permission to modify the LDAP database.
              Specifies the name of the group to be deleted  from
              the system. The groupname must exist.

DESCRIPTION    [Toc]    [Back]

       The  groupdel command lets the system administrator delete
       existing groups from the system by group name.

       The -x options local, distributed, ldap and  let the  system
  administrator specify whether the group to be deleted
       is local, distributed by NIS, or on  an  LDAP  server.  If
       these  options  are not specified on the command line, the
       system deletes the group from the appropriate database  as
       specified  by  the  system  defaults.  System defaults for
       groups may be set with the  groupmod  -D  option.  In  the
       absence  of  any defaults, groupdel deletes a local group.
       Certain combinations of these  settings  are  incompatible
       and  produce  an  error: it is invalid to set all of these
       values to 0 or set more than one of them to 1.

RESTRICTIONS    [Toc]    [Back]

       You must have superuser privilege to execute this command.

       Advanced  Server  for UNIX (ASU) must be running to delete
       PC groups consisting of members who are holders of Windows
       NT domain accounts.

       You must be on the NIS master to delete a NIS group.

       LDAP  must  be  configured,  and  you  must be on the LDAP
       server or an LDAP client with  permission  to  modify  the
       LDAP database to delete an LDAP group.




EXIT STATUS    [Toc]    [Back]

       The  groupdel command exits with one of the following values:
 Success.  Failure.  Warning.

EXAMPLES    [Toc]    [Back]

       The  following  example  removes  the  group,  testgrp:  %
       groupdel  testgrp The following example removes the group,
       testgrp, from the local  group  database:  %  groupdel  -x
       local=1 testgrp The following example removes the PC users
       group, domainbdev: % groupdel -P domainbdev

FILES    [Toc]    [Back]

       The groupdel command operates on the appropriate files for
       the specific level of system security.

SEE ALSO    [Toc]    [Back]

      
      
       Commands:  groupadd(8),      groupmod(8),      useradd(8),
       userdel(8), usermod(8)

       Manuals: System Administration, Security



                                                      groupdel(8)
[ Back ]
 Similar pages
Name OS Title
groupmod Tru64 Modifies a group definition on the system
vgremove HP-UX remove LVM volume group definition from the system
groupadd Tru64 Adds a new group definition
sysdef HP-UX display system definition
deleteSerialDevice IRIX deletes a serial device from the system
delete_clearinghouse HP-UX Deletes the specified clearinghouse from the local server system
userdel Tru64 Deletes a user login account from the system.
groupadd HP-UX add a new group to the system
groupadd OpenBSD add a group to the system
groupdel OpenBSD remove a group from the system
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service