testing
This commit is contained in:
14
debian/debian-essentials.sh
vendored
14
debian/debian-essentials.sh
vendored
@@ -258,17 +258,9 @@ fi
|
||||
|
||||
|
||||
# download sshd configuration test script
|
||||
if [ "$EUID" -ne 0 ]
|
||||
then
|
||||
sudo rm /home/akanealw/debian-configure-sshd.sh > /dev/null 2>&1
|
||||
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
|
||||
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
|
||||
|
||||
|
||||
# lock root
|
||||
|
||||
Reference in New Issue
Block a user