[DRE-commits] [diaspora-installer] 08/12: disabled-login for diaspora
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Fri May 8 14:58:59 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository diaspora-installer.
commit e6b16fa94b2c12d2baca8f1287e9ecfb371fd329
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Fri May 8 17:51:04 2015 +0530
disabled-login for diaspora
---
adduser.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/adduser.sh b/adduser.sh
index e8b940d..9db0de6 100755
--- a/adduser.sh
+++ b/adduser.sh
@@ -7,7 +7,7 @@ user=diaspora
echo "Creating/updating $user user account..."
adduser --system --home /usr/share/$user \
--gecos "$user system user" --shell /bin/false \
- --quiet --disabled-password $user || {
+ --quiet --disabled-password --disabled-login $user || {
# adduser failed. Why?
if [ `getent passwd $user|awk -F ':' '{print $3}'` -gt 999 ] >/dev/null ; then
echo "Non-system user $user found. I will not overwrite a non-system" >&2
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/diaspora-installer.git
More information about the Pkg-ruby-extras-commits
mailing list