man-pages/man5/deluser.conf.5.html
2021-03-31 01:06:50 +01:00

134 lines
3.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of deluser.conf</TITLE>
</HEAD><BODY>
<H1>deluser.conf</H1>
Section: File Formats (5)<BR>Updated: Version 3.118ubuntu2<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
/etc/deluser.conf - configuration file for
<B><A HREF="/cgi-bin/man/man2html?8+deluser">deluser</A>(8) </B>
and
<B><A HREF="/cgi-bin/man/man2html?8+delgroup">delgroup</A>(8)</B>.
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
The file
<I>/etc/deluser.conf</I>
contains defaults for the programs
<B><A HREF="/cgi-bin/man/man2html?8+deluser">deluser</A>(8) </B>
and
<B><A HREF="/cgi-bin/man/man2html?8+delgroup">delgroup</A>(8)</B>.
Each option takes the form
<I>option</I> = <I>value</I>.
Double or single quotes are allowed around the value. Comment lines
must have a hash sign (#) at the beginning of the line.
<P>
<B><A HREF="/cgi-bin/man/man2html?8+deluser">deluser</A>(8) </B>
and
<B><A HREF="/cgi-bin/man/man2html?8+delgroup">delgroup</A>(8) </B>
also read
<I>/etc/adduser.conf,</I>
see
<B><A HREF="/cgi-bin/man/man2html?5+adduser.conf">adduser.conf</A>(5); </B>
settings in
<I>deluser.conf </I>
may overwrite settings made in
<I>adduser.conf.</I>
<P>
The valid configuration options are:
<DL COMPACT>
<DT id="1"><B>REMOVE_HOME</B><DD>
Removes the home directory and mail spool of the user to be removed.
Value may be 0 (don't delete) or 1 (do delete).
<DT id="2"><B>REMOVE_ALL_FILES</B><DD>
Removes all files on the system owned by the user to be removed.
If this option is activated
<B>REMOVE_HOME</B>
has no effect. Values may be 0 or 1.
<DT id="3"><B>BACKUP</B><DD>
If
<B>REMOVE_HOME</B>
or
<B>REMOVE_ALL_FILES</B>
is activated all files are backuped before they are removed. The backup
file that is created defaults to username.tar(.gz|.bz2) in the
directory specified by the
<B>BACKUP_TO</B>
option. The compression method is chosen to the best that is available.
Values may be 0 or 1.
<DT id="4"><B>BACKUP_TO</B><DD>
If
<B>BACKUP</B>
is activated,
<B>BACKUP_TO</B>
specifies the directory the backup is written to. Default is the
current directory.
<DT id="5"><B>NO_DEL_PATHS</B><DD>
A list of regular expressions, space separated. All files to be
deleted in course of deleting home directories or deleting files owned
by the user to be deleted are checked against each of these regular
expressions. If a match is detected, the file is not deleted. Defaults
to a list of system directories, leaving only /home.
<P>
In other words: By default only files below /home belonging to that specific user are going to be deleted.
<P>
<DT id="6"><B>ONLY_IF_EMPTY</B><DD>
Only delete a group if there are no users belonging to this group. Defaults to 0.
<DT id="7"><B>EXCLUDE_FSTYPES</B><DD>
A regular expression which describes all file systems which should be excluded when looking for files of a user to be deleted. Defaults to &quot;(proc|sysfs|usbfs|devpts|tmpfs|afs)&quot;.
<P>
</DL>
<A NAME="lbAD">&nbsp;</A>
<H2>FILES</H2>
<I>/etc/deluser.conf</I>
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?5+adduser.conf">adduser.conf</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?8+delgroup">delgroup</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+deluser">deluser</A>(8)</B>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="8"><A HREF="#lbAB">NAME</A><DD>
<DT id="9"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DT id="10"><A HREF="#lbAD">FILES</A><DD>
<DT id="11"><A HREF="#lbAE">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:03 GMT, March 31, 2021
</BODY>
</HTML>