mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
plug bash vulnerability by switching to dash shell
This commit is contained in:
parent
1ed0e8362e
commit
2c31e17766
@ -1,6 +1,7 @@
|
||||
# Changelog
|
||||
|
||||
**latest**
|
||||
- plug bash vulnerability by switching to dash shell
|
||||
- automatically run the `gitlab:setup` rake task for new installs
|
||||
|
||||
**7.3.1**
|
||||
|
||||
@ -27,6 +27,7 @@ rm -rf /etc/ssh/ssh_host_*_key /etc/ssh/ssh_host_*_key.pub
|
||||
# add git user
|
||||
adduser --disabled-login --gecos 'GitLab' git
|
||||
passwd -d git
|
||||
chsh -s /bin/dash git
|
||||
|
||||
rm -rf /home/git/.ssh
|
||||
sudo -u git -H mkdir -p ${GITLAB_DATA_DIR}/.ssh
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user