create lemur user

This commit is contained in:
Emmanuel Garette 2020-10-20 22:23:35 +02:00
parent b408b7a30b
commit a51d094b61
1 changed files with 12 additions and 0 deletions

12
debian/eole-lemur.postinst vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
set -e
if [ "$1" = configure ]; then
# Make sure the administrative user exists
if ! getent passwd lemur > /dev/null; then
adduser --system --home /nonexistent --no-create-home --group --gecos "User for lemur" lemur --quiet
fi
fi
exit 0