mirror of https://github.com/zulip/zulip.git
setup.bash: Add humbug user to sudoers.
(imported from commit 1286b358f41317ab2672c6958110a7a942b18a34)
This commit is contained in:
parent
67a4a2af3e
commit
af4ae41c1a
|
@ -36,6 +36,10 @@ chmod -R go-rwx /home/humbug/.ssh/
|
|||
yes '' | adduser --disabled-login wiki
|
||||
chmod 700 /home/{humbug,wiki}
|
||||
|
||||
if ! grep -q humbug /etc/sudoers; then
|
||||
echo 'humbug ALL=(ALL) NOPASSWD: ALL' >>/etc/sudoers
|
||||
fi
|
||||
|
||||
# Resize the filesystem to fill the EBS volume
|
||||
resize2fs /dev/xvda1
|
||||
|
||||
|
|
Loading…
Reference in New Issue