From f4d6f5d4feb230838ecf08a6507079362650b239 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 2 Feb 2011 17:47:31 +0100 Subject: [PATCH] postinst: Create the nagios user with the same settings as in nagios3-common. --- debian/postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2