From: Martin Mares Date: Sun, 19 Nov 2017 14:05:08 +0000 (+0100) Subject: Debian postinst: chmod 700 /var/lib/subauthd X-Git-Tag: v0.9~6 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;ds=sidebyside;h=1cdf6b844a8514ee5a235acf096bfef33b794eba;p=subauth.git Debian postinst: chmod 700 /var/lib/subauthd --- diff --git a/debian/subauth.postinst b/debian/subauth.postinst index b426a6d..b9c2d96 100644 --- a/debian/subauth.postinst +++ b/debian/subauth.postinst @@ -2,7 +2,7 @@ if [ "$1" = configure ] ; then if ! getent passwd subauthd >/dev/null ; then - adduser --system --group --disabled-login --gecos 'Sub-authentication daemon' subauthd + adduser --system --group --disabled-login --home /nonexistent --no-create-home --gecos 'Sub-authentication daemon' subauthd fi chown subauthd.subauthd /var/lib/subauthd chmod 700 /var/lib/subauthd