From 1cdf6b844a8514ee5a235acf096bfef33b794eba Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 19 Nov 2017 15:05:08 +0100 Subject: [PATCH] Debian postinst: chmod 700 /var/lib/subauthd --- debian/subauth.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5