summaryrefslogtreecommitdiff
path: root/packaging/debs
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-01-27 15:13:44 +0000
committerSimon MacMullen <simon@rabbitmq.com>2011-01-27 15:13:44 +0000
commitdaa8828b518753df5d5036ba2c61d2ceee7d64ea (patch)
treef4479dffc4ae83b24104ec7157935c8b839a7176 /packaging/debs
parent4605a42a7f1371578bf089fd39735ad6d56d4e7f (diff)
downloadrabbitmq-server-git-daa8828b518753df5d5036ba2c61d2ceee7d64ea.tar.gz
Add --disabled-login
Diffstat (limited to 'packaging/debs')
-rw-r--r--packaging/debs/Debian/debian/postinst3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/debs/Debian/debian/postinst b/packaging/debs/Debian/debian/postinst
index 05fb179cbf..b1cf809fb3 100644
--- a/packaging/debs/Debian/debian/postinst
+++ b/packaging/debs/Debian/debian/postinst
@@ -26,7 +26,8 @@ fi
# create rabbitmq user
if ! getent passwd rabbitmq >/dev/null; then
adduser --system --ingroup rabbitmq --home /var/lib/rabbitmq \
- --no-create-home --gecos "RabbitMQ messaging server" rabbitmq
+ --no-create-home --gecos "RabbitMQ messaging server" \
+ --disabled-login rabbitmq
fi
chown -R rabbitmq:rabbitmq /var/lib/rabbitmq