testing
This commit is contained in:
Vendored
+3
-11
@@ -258,17 +258,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
# download sshd configuration test script
|
# download sshd configuration test script
|
||||||
if [ "$EUID" -ne 0 ]
|
sudo rm /root/debian-configure-sshd.sh > /dev/null 2>&1
|
||||||
then
|
wget -qO /root/debian-configure-sshd.sh http://192.168.1.50/scripts/debian/debian-configure-sshd.sh
|
||||||
sudo rm /home/akanealw/debian-configure-sshd.sh > /dev/null 2>&1
|
sudo chmod +x /root/debian-configure-sshd.sh
|
||||||
wget -qO /home/akanealw/debian-configure-sshd.sh http://192.168.1.50/scripts/debian/debian-configure-sshd.sh
|
|
||||||
sudo chown akanealw:akanealw /home/akanealw/debian-configure-sshd.sh
|
|
||||||
sudo chmod +x /home/akanealw/debian-configure-sshd.sh
|
|
||||||
else
|
|
||||||
sudo rm /root/debian-configure-sshd.sh > /dev/null 2>&1
|
|
||||||
wget -qO /root/debian-configure-sshd.sh http://192.168.1.50/scripts/debian/debian-configure-sshd.sh
|
|
||||||
sudo chmod +x /root/debian-configure-sshd.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# lock root
|
# lock root
|
||||||
|
|||||||
Reference in New Issue
Block a user