X-Git-Url: https://git.distorted.org.uk/~mdw/hippotat/blobdiff_plain/aa16880294e946a477ab1ff87b86c3fd8b865987..809bcf831f76bbb1ad8623853103c8abfe4c6194:/debian/hippotat.postinst diff --git a/debian/hippotat.postinst b/debian/hippotat.postinst index a223771..7954152 100644 --- a/debian/hippotat.postinst +++ b/debian/hippotat.postinst @@ -1,6 +1,13 @@ #!/bin/sh set -e -#DEBHELPER# -mkdir -p -m700 /etc/hippotat + adduser --system --group --force-badname --shell=/bin/bash \ - --home /etc/hippotat Debian-hippotat + --quiet --home /etc/hippotat Debian-hippotat + +umask 077 + +pd=/etc/hippotat/passwords.d +test -d $pd || \ +install -m 750 -o root -g Debian-hippotat -d $pd + +#DEBHELPER#