There was an error while loading. Please reload this page.
1 parent dbd94c5 commit 604c96eCopy full SHA for 604c96e
assets/setup.sh
@@ -10,9 +10,9 @@ apt-get update
10
apt-get install -y openssh-server &&
11
mkdir /var/run/sshd &&
12
echo 'root:admin' | chpasswd &&
13
-sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config &&
14
-sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd &&
15
-echo "export VISIBLE=now" >> /etc/profile &&
+sed -i 's/^PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config &&
+sed -i 's/session\s*required\s*pam_loginuid.so/session optional pam_loginuid.so/g' /etc/pam.d/sshd &&
+echo 'export VISIBLE=now' >> /etc/profile &&
16
17
# Prepare to install Oracle
18
apt-get install -y libaio1 net-tools bc &&
0 commit comments