From a53a75ed8b3f811e28a2e6a00b190af66a029e72 Mon Sep 17 00:00:00 2001 From: zeus Date: Sat, 6 Mar 2021 22:20:08 +0200 Subject: [PATCH] gimp --- install/usr/share/swarmlab.io/sec/swarmlab-sec | 8 -------- 1 file changed, 8 deletions(-) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index 842353f..ca12871 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -136,8 +136,6 @@ if [ -d "$Wdir/project" ]; then && rm -rf /usr/share/locale \ && mkdir -p /var/run/sshd \ && echo 'root:$ROOT_PASSWORD' | chpasswd \ - && sed -i 's/PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config \ - && sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd \ && echo "export VISIBLE=now" >> /etc/profile \ && mkdir -p /project \ && mkdir -p /etc/opt \ @@ -170,8 +168,6 @@ EOF RUN mkdir -p /var/run/sshd \ && echo 'root:$ROOT_PASSWORD' | chpasswd \ - && sed -i 's/PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config \ - && sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd \ && echo "export VISIBLE=now" >> /etc/profile \ && mkdir -p /etc/opt \ && mkdir -p /project \ @@ -253,8 +249,6 @@ if [ "$Wdir" == "$HOME" ]; then && rm -rf /usr/share/locale \ && mkdir -p /var/run/sshd \ && echo 'root:$ROOT_PASSWORD' | chpasswd \ - && sed -i 's/PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config \ - && sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd \ && echo "export VISIBLE=now" >> /etc/profile \ && mkdir -p /project \ && mkdir -p /etc/opt \ @@ -287,8 +281,6 @@ else RUN mkdir -p /var/run/sshd \ && echo 'root:$ROOT_PASSWORD' | chpasswd \ - && sed -i 's/PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config \ - && sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd \ && echo "export VISIBLE=now" >> /etc/profile \ && mkdir -p /etc/opt \ && mkdir -p /project \