plug bash vulnerability by switching to dash shell

This commit is contained in:
Sameer Naik 2014-09-25 01:52:43 +05:30
parent 1ed0e8362e
commit 2c31e17766
2 changed files with 2 additions and 0 deletions

View File

@ -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**

View File

@ -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