root1.sh 840 B

1234567891011121314151617181920212223242526272829303132
  1. #!/bin/bash
  2. # Simpel Change Root For Linux ( ALL LINUX OS )
  3. # Auther = WildySheverando
  4. # ================================================
  5. # Clear
  6. clear
  7. rm -f root.sh
  8. # Get Passwd
  9. read -p "Please Input an New Password For Root : " Pass
  10. # Starting Changes To Root
  11. rm -f /etc/ssh/sshd_config
  12. wget -O /etc/ssh/sshd_config https://raw.githubusercontent.com/wildysheverando-project/autoscript.github.io/main/sshd_config
  13. echo -e "$Pass\n$Pass\n"|passwd root &> /dev/null
  14. IPANDA=$(wget -qO- ifconfig.co);
  15. # Successful
  16. clear
  17. echo "Please Save This VPS Account Information"
  18. echo "============================================"
  19. echo " IP ADDRESS = $IPANDA"
  20. echo " Username = root"
  21. echo " Password = $Pass"
  22. echo "============================================"
  23. echo ""
  24. echo "VPS Will Rebooting On 20 Second !!!!!"
  25. rm -f root.sh
  26. sleep 20
  27. reboot