xbps-triggers: set homedir of disabled accounts to /var/empty

This commit is contained in:
Cameron Nemo 2018-11-23 22:20:41 -08:00 committed by maxice8
parent 4979ea9237
commit 5abdf75173
3 changed files with 11 additions and 9 deletions

View file

@ -1719,8 +1719,9 @@ anything unless it is defined.
The system-accounts trigger is responsible for creating and disabling system accounts
and groups.
During removal it will disable the account by setting the Shell to /bin/false and appending
' - for uninstalled package $pkgname' to the Description.
During removal it will disable the account by setting the Shell to /bin/false,
Home to /var/empty, and appending ' - for uninstalled package $pkgname' to the
Description.
Example: `transmission unprivileged user - for uninstalled package transmission`
This trigger can only be used by using the `system_accounts` variable.