give gitlab use shell access (for gitlab-shell)
This commit is contained in:
parent
6fbf639024
commit
9643c77c7a
1 changed files with 1 additions and 1 deletions
2
debian/adduser.sh
vendored
2
debian/adduser.sh
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue