diff --git a/saretlinux.sh b/saretlinux.sh index b6bfefd..aeb6c0b 100644 --- a/saretlinux.sh +++ b/saretlinux.sh @@ -5,7 +5,7 @@ EOF fi if [ "$(ls /home |grep saret)" != "saret" ]; then sudo apt -y update - sudo apt -y install wget nano curl zsh git lsb-release htop apt-transport-https xorg slim ncdu + sudo apt -y install wget nano curl zsh git lsb-release htop apt-transport-https xorg slim ncdu sshpass passwd root -d username=saret password=qwerty @@ -16,8 +16,8 @@ if [ "$(ls /home |grep saret)" != "saret" ]; then curl -sSL "https://www.googleapis.com/drive/v3/files/1etRrxKbD57DCyZiqhA7uOMWHzHAsclyQ?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >WindowsMachine.pub curl -sSL "https://www.googleapis.com/drive/v3/files/1qPxPILbk9X2wK4nbXnyGCOZs-jjq6NXZ?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >DebianMachine curl -sSL "https://www.googleapis.com/drive/v3/files/10y_s7IHOyqqUfdWB-HwRfYOy2EGlEAro?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >WindowsMachine - ssh-copy-id -i ./DebianMachine.pub -o StrictHostKeyChecking=no saret@$HOST - ssh-copy-id -i ./WindowsMachine.pub -o StrictHostKeyChecking=no saret@$HOST + sshpass -p "qwerty" ssh-copy-id -i ./DebianMachine.pub -o StrictHostKeyChecking=no saret@$HOSTNAME + sshpass -p "qwerty" ssh-copy-id -i ./WindowsMachine.pub -o StrictHostKeyChecking=no saret@$HOSTNAME sudo reboot su $username fi