summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/postinst b/debian/postinst
index 3745b99c539..0130d403b9d 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -22,7 +22,7 @@ case "$1" in
configure)
# create a mongodb group and user
if ! grep -q mongodb /etc/passwd; then
- adduser --system mongodb
+ adduser --system --no-create-home mongodb
addgroup --system mongodb
adduser mongodb mongodb
fi