mirror of https://github.com/zulip/zulip.git
setup.bash: Some fixes to server installation process.
(imported from commit 13a675495cc561060c91958c5f217f706a1f4501)
This commit is contained in:
parent
3e5008b143
commit
d997eacc5e
|
@ -18,7 +18,13 @@ EOF
|
|||
service ssh restart
|
||||
|
||||
# Create users and secure homedirs
|
||||
adduser --disabled-login wiki
|
||||
yes '' | adduser --disabled-password humbug
|
||||
mkdir -p /home/humbug/.ssh/
|
||||
cp -a /root/.ssh/authorized_keys /home/humbug/.ssh/
|
||||
chown -R humbug:humbug /home/humbug/.ssh/
|
||||
chmod -R go-rwx /home/humbug/.ssh/
|
||||
|
||||
yes '' | adduser --disabled-login wiki
|
||||
chmod 700 /home/{humbug,wiki}
|
||||
|
||||
# Resize the filesystem to fill the EBS volume
|
||||
|
|
Loading…
Reference in New Issue