From: Sebastian Harl Date: Wed, 2 Feb 2011 16:47:31 +0000 (+0100) Subject: postinst: Create the nagios user with the same settings as in nagios3-common. X-Git-Tag: v_0_6_11-1~32 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f4d6f5d4feb230838ecf08a6507079362650b239;p=pkg-pnp4nagios.git postinst: Create the nagios user with the same settings as in nagios3-common. --- diff --git a/debian/postinst b/debian/postinst index 3ed650d..a9c3e82 100644 --- a/debian/postinst +++ b/debian/postinst @@ -34,8 +34,8 @@ case "$1" in configure) if ! getent passwd nagios > /dev/null ; then echo 'Adding system-user for nagios' 1>&2 - adduser --system --group --home /var/run/nagios3 --no-create-home \ - --disabled-login --force-badname nagios > /dev/null + adduser --system --group --home /var/lib/nagios \ + --disabled-login --force-badname nagios > /dev/null fi setperm nagios www-data 750 /var/lib/pnp4nagios setperm nagios nagios 755 /var/lib/pnp4nagios/perfdata