give gitlab use shell access (for gitlab-shell)

This commit is contained in:
Praveen Arimbrathodiyil 2016-01-15 19:52:08 +05:30
parent 6fbf639024
commit 9643c77c7a

2
debian/adduser.sh vendored
View file

@ -6,7 +6,7 @@ user=gitlab
echo "Creating/updating $user user account..."
adduser --system --home /usr/share/$user \
--gecos "$user system user" --shell /bin/false \
--gecos "$user system user" --shell /bin/sh \
--quiet --disabled-password --disabled-login $user || {
# adduser failed. Why?
if [ `getent passwd $user|awk -F ':' '{print $3}'` -gt 999 ] >/dev/null ; then