File: adduser.local.8

package info (click to toggle)
adduser 3.153
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,560 kB
  • sloc: perl: 9,407; sh: 189; makefile: 22
file content (52 lines) | stat: -rw-r--r-- 1,244 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.\" Copyright 2025 Marc Haber <mh+debian-packages@zugschlus.de>
.\"
.\" This is free software; see the GNU General Public License version
.\" 2 or later for copying conditions.  There is NO warranty.
.TH ADDUSER 8 "" "Debian GNU/Linux"
.SH NAME
adduser.local, deluser.local \-
hook for local actions in adduser and deluser
.SH SYNOPSIS
.SY adduser.local
.OP "" username
.OP "" uid
.OP "" gid
.OP "" home-directory
.SY deluser.local
.OP "" username
.OP "" uid
.OP "" gid
.OP "" home-directory
.YS
.SH DESCRIPTION
\fBadduser.local\fP and \fBdeluser.local\fP
can be placed by the local admin into
\fI/usr/local/sbin\fP
and will be called by
\fBadduser\fP and \fBdeluser\fP
respectively in order to do locally relevant setup
and cleanup actions.
.PP
The hooks are called while the adduser/deluser lock is active.
They must therefore not call back to adduser/deluser themselves.
.SH RETURN VALUE
Return values from the hooks are ignored.

.SH ENVIRONMENT
.B VERBOSE
.IP 0
if \-\-quiet is specified
.IP 1
if neither \-\-quiet nor \-\-debug is specified
.IP 2
if \-\-debug is specified

.SH SEE ALSO
.BR adduser.conf (5),
.BR deluser.conf (5),
.BR adduser (8),
.BR deluser (8),
.BR groupadd (8),
.BR useradd (8),
.BR usermod (8),
Debian Policy 9.2.2.