Skip to content

Commit 8408f1e

Browse files
committed
Add disabled password option for adduser as replacement for disabled login option
1 parent 576243c commit 8408f1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assets/build/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ rm -rf /etc/ssh/ssh_host_*_key /etc/ssh/ssh_host_*_key.pub
7676
# add ${GITLAB_USER} user
7777
deluser --remove-home ubuntu
7878
addgroup --gid 1000 git
79-
adduser --uid 1000 --gid 1000 --gecos 'GitLab' ${GITLAB_USER}
79+
adduser --uid 1000 --gid 1000 --disabled-password --gecos 'GitLab' ${GITLAB_USER}
8080
passwd -d ${GITLAB_USER}
8181

8282
# set PATH (fixes cron job PATH issues)

0 commit comments

Comments
 (0)