[Pkg-mongodb-maintainers] [pkg-mongodb] 07/394: no need for creating home-dir for mongo user
Apollon Oikonomopoulos
apoikos at moszumanska.debian.org
Wed Sep 21 13:57:41 UTC 2016
This is an automated email from the git hooks/post-receive script.
apoikos pushed a commit to branch master
in repository pkg-mongodb.
commit 5842c04fe47244da12dc6fb7440238e10f5d0f29
Author: Antonin Kral <a.kral at bobek.cz>
Date: Sun Jan 31 08:46:58 2010 +0100
no need for creating home-dir for mongo user
---
debian/postinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/postinst b/debian/postinst
index 3745b99..0130d40 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mongodb/pkg-mongodb.git
More information about the Pkg-mongodb-maintainers
mailing list