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

  man pages->Linux man pages -> deluser (8)              
Title
Content
Arch
Section
 

DELUSER(8)

Contents


NAME    [Toc]    [Back]

       deluser, delgroup - remove a user or group from the system

SYNOPSIS    [Toc]    [Back]

       deluser [options] [--remove-home] [--remove-all-files] [--backup] user

       deluser --group [options] group
       delgroup [options] group

       deluser [options] user group

   COMMON OPTIONS    [Toc]    [Back]
       [--quiet] [--help] [--version] [--conf FILE]

DESCRIPTION    [Toc]    [Back]

       deluser	and delgroup remove users and groups from the system according
       to   command   line   options   and   configuration   information    in
       /etc/deluser.conf.   They  are friendlier front ends to the userdel and
       groupdel programs, removing the home directory as option  or  even  all
       files  on  the system owned by the user to be removed, running a custom
       script, and other features.  deluser and delgroup can be run in one  of
       three modes:

   Remove a normal user    [Toc]    [Back]
       If  called  with  one  non-option  argument  and  without  the  --group
       options, deluser will remove a normal user.

       By default, deluser will remove the  user  without  removing  the  home
       directory,  the	mail  spool  or any other files on the system owned by
       the user. Removing the home directory and mail spool can  be  archieved
       using  the  --remove-home  option  and removing all files on the system
       owned by the user by the --remove-all-files option. Note  that  if  you
       activate  both  options	--remove-home  will have no effect because all
       files including the home directory and mail spool are  already  covered
       by the --remove-all-files option.

       If  you	want to backup all files before deleting them you can activate
       the --backup option which will create a file username.tar(.gz|.bz2)  in
       your  current working directory. Both the remove and backup options can
       also   be   activated   for   default   in   the   configuration   file
       /etc/deluser.conf. See deluser.conf(5) for details.

       If  the	file /usr/local/sbin/deluser.local exists, it will be executed
       after the user account has been removed in order to do any local setup.
       The arguments passed to deluser.local are:
       username uid gid home-directory


   Remove a system group    [Toc]    [Back]
       If  deluser is called with the --group option, or delgroup is called, a
       system group will be removed.

       Warning: If any users have the group to be removed as primary group the
       group cannot be removed.


   Remove an user from a specific group    [Toc]    [Back]
       If  called  with  two non-option arguments, deluser will remove an user
       from a specific group.

OPTIONS    [Toc]    [Back]

       --conf FILE
	      Use FILE instead of /etc/deluser.conf.

       --group
	      Remove a group. This is the default action  if  the  program  is
	      invoked as delgroup.

       --help Display brief instructions.

       --quiet
	      Suppress progress messages.

       --version
	      Display version and copyright information.

FILES    [Toc]    [Back]

       /etc/deluser.conf

SEE ALSO    [Toc]    [Back]

      
      
       deluser.conf(5), adduser(8), userdel(8), groupdel(8)

COPYRIGHT    [Toc]    [Back]

       Copyright  (C)  2000 Roland Bauerschmidt.  This manpage and the deluser
       program is based on adduser which is:
       Copyright (C) 1997, 1998, 1999 Guy Maor.
       Copyright (C) 1995 Ted Hajek, with a great deal borrowed from the original
 Debian adduser
       Copyright  (C) 1994 Ian Murdock.  deluser is free software; see the GNU
       General Public Licence version  2  or  later  for  copying  conditions.
       There is no warranty.







Debian GNU/Linux		 Version 3.47			    DELUSER(8)
[ Back ]
 Similar pages
Name OS Title
groupdel OpenBSD remove a group from the system
vgremove HP-UX remove LVM volume group definition from the system
userdel OpenBSD remove a user from the system
rmprivuser IRIX remove a user's system administration privileged user status
adduser Linux add a user or group to the system
TP_CertRemoveFromCrlTemplate Tru64 Determine if the revoking certificate group can remove the subject certificate group from the CRL te...
CSSM_TP_CertRemoveFromCrlTemplate Tru64 Determine if the revoking certificate group can remove the subject certificate group from the CRL te...
vgreduce HP-UX remove physical volumes from an LVM volume group
lvremove HP-UX remove one or more logical volumes from LVM volume group
vxdestroy_lvmroot HP-UX remove LVM root disk and associated LVM volume group
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service