sourCEntral - mobile manpages

pdf

DH_SYSUSER

NAME

dh_sysuser − manage system users, required for package operation

SYNOPSIS

dh_sysuser [debhelper options] [username options] ...

DESCRIPTION

dh_sysuser is debhelper addon, that provide simple and uniform way of creating and removing system users, required for package operation (for example, to run with dropped privileges).

dh_sysuser read it’s arguments from command line and file debian/package.sysuser in pairs, first one being an username and second one is options. Options are comma-separated words, like options to mount. Following options are supported (unsupported option is error):
home
=/path/to/home/directory

This option requests creation of home directory. By default, no home directory is created.

home

This option request creation of home directory somewhere under /var/lib. Probably, you should use this form over explicit one, described above.

defaults

If you do not need any other options, put this one.

dh_sysuser ensures, that

required system users are present after package installation

they are locked on package removal.

pdf