Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
deluser(8)
Edit
PageHistory
Diff
Info
LikePages
DELUSER !!!DELUSER NAME SYNOPSIS DESCRIPTION OPTIONS FILES SEE ALSO COPYRIGHT ---- !!NAME deluser, delgroup - remove a user or group from the system !!SYNOPSIS __deluser__ [[options] [[--remove-home] [[--remove-all-files] [[--backup] user __deluser__ --group [[options] group__ delgroup__ [[options] group __deluser__ [[options] user group __COMMON OPTIONS__ [[--quiet] [[--help] [[--version] [[--conf FILE] !!DESCRIPTION __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__ 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__ 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__ If called with two non-option arguments, __deluser__ will remove an user from a specific group. !!OPTIONS __--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 /etc/deluser.conf !!SEE ALSO deluser.conf(5), adduser(8), userdel(8), groupdel(8) !!COPYRIGHT 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. ----
4 pages link to
deluser(8)
:
Man8d
addgroup(8)
adduser(8)
deluser.conf(5)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.