adduser.local(8)

adduser.local8

Hook for local actions in adduser and deluser

Usage

adduser.local [username] [uid] [gid] [home-directory]

deluser.local [username] [uid] [gid] [home-directory]

Overview

adduser.local and deluser.local can be placed by the local admin into /usr/local/sbin and will be called by adduser and deluser respectively in order to do locally relevant setup and cleanup actions.

The hooks are called while the adduser/deluser lock is active. They must therefore not call back to adduser/deluser themselves.

Return value

Return values from the hooks are ignored.

Environment

VERBOSE

0

if --quiet is specified

1

if neither --quiet nor --debug is specified

2

if --debug is specified

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From adduser 3.152 in Debian 13 (Trixie). Parsed by carta from the page's man source.