diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2011-01-27 15:13:44 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2011-01-27 15:13:44 +0000 |
| commit | daa8828b518753df5d5036ba2c61d2ceee7d64ea (patch) | |
| tree | f4479dffc4ae83b24104ec7157935c8b839a7176 /packaging/debs | |
| parent | 4605a42a7f1371578bf089fd39735ad6d56d4e7f (diff) | |
| download | rabbitmq-server-git-daa8828b518753df5d5036ba2c61d2ceee7d64ea.tar.gz | |
Add --disabled-login
Diffstat (limited to 'packaging/debs')
| -rw-r--r-- | packaging/debs/Debian/debian/postinst | 3 |
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 |
