From 6d0bd0ac2a123f47f714c0df5e6751d47d4f25d5 Mon Sep 17 00:00:00 2001 From: Mikhail Gusarov Date: Sun, 23 Feb 2014 09:33:05 +0100 Subject: [PATCH] Use _rspamd as a system user in Debian --- debian/postinst | 2 +- debian/rspamd.default | 4 ++-- debian/rspamd.init | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/postinst b/debian/postinst index 78c280568..4c39b569a 100644 --- a/debian/postinst +++ b/debian/postinst @@ -7,7 +7,7 @@ case "$1" in configure) SERVER_HOME=/var/lib/rspamd SERVER_LOG=/var/log/rspamd - SERVER_USER=rspamd + SERVER_USER=_rspamd SERVER_NAME="Rspamd spam filtering system" adduser --quiet \ diff --git a/debian/rspamd.default b/debian/rspamd.default index e95072d75..2676fcae9 100644 --- a/debian/rspamd.default +++ b/debian/rspamd.default @@ -1,2 +1,2 @@ -RSPAMD_USERNAME=rspamd -RSPAMD_GROUPNAME=rspamd +RSPAMD_USERNAME=_rspamd +RSPAMD_GROUPNAME=_rspamd diff --git a/debian/rspamd.init b/debian/rspamd.init index d550b0b56..08fdc712c 100755 --- a/debian/rspamd.init +++ b/debian/rspamd.init @@ -20,8 +20,8 @@ DAEMON_ARGS="-c /etc/rspamd/rspamd.conf" DESC="rapid spam filtering system" PIDFILE=/var/lib/rspamd/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME -RSPAMD_USERNAME=rspamd -RSPAMD_GROUPNAME=rspamd +RSPAMD_USERNAME=_rspamd +RSPAMD_GROUPNAME=_rspamd # Exit if the package is not installed [ -x "$DAEMON" ] || exit 0 -- 2.39.5