Public repo to distribute scripts and config's
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 

37 行
1.5 KiB

  1. ##/bin/bash
  2. apt -y install zsh
  3. useradd -Gsudo -m -s /usr/bin/zsh -c "Jan De Landtsheer" delandtj
  4. mkdir /home/delandtj/.ssh
  5. wget -qO- https://github.com/delandtj.keys >> /home/delandtj/.ssh/authorized_keys
  6. chown -R delandtj:delandtj /home/delandtj/.ssh
  7. useradd -m -Gsudo -s /usr/bin/zsh -c "Lee Smet" lee
  8. mkdir /home/lee/.ssh
  9. wget -qO- https://github.com/LeeSmet.keys >> /home/lee/.ssh/authorized_keys
  10. chown -R lee:lee /home/lee/.ssh
  11. useradd -m -Gsudo -s /usr/bin/zsh -c "Dylan Verstraete" verstrad
  12. mkdir /home/verstrad/.ssh
  13. wget -qO- https://github.com/dylanVerstraete.keys >> /home/verstrad/.ssh/authorized_keys
  14. chown -R verstrad:verstrad /home/verstrad/.ssh
  15. useradd -m -Gsudo -c "Coesens Bert" -s /bin/bash coesensb
  16. mkdir /home/coesensb/.ssh
  17. wget -qO- github.com/coesensbert.keys >> /home/coesensb/.ssh/authorized_keys
  18. chown -R coesensb:coesensb /home/coesensb/.ssh
  19. useradd -m -Gsudo -c "Peter Nashaat" -s /bin/bash nashaatp
  20. mkdir /home/nashaatp/.ssh
  21. wget -qO- https://github.com/PeterNashaat.keys >> /home/nashaatp/.ssh/authorized_keys
  22. chown -R nashaatp:nashaatp /home/nashaatp/.ssh
  23. useradd -m -Gsudo -c "Ramez Saeed" -s /bin/bash saeedr
  24. mkdir /home/saeedr/.ssh
  25. wget -qO- https://github.com/ramezsaeed.keys >> /home/saeedr/.ssh/authorized_keys
  26. chown -R saeedr:saeedr /home/saeedr/.ssh
  27. useradd -m -Gsudo -c "Samir Hossny" -s /bin/bash hossnys
  28. mkdir /home/hossnys/.ssh
  29. wget -qO- https://github.com/hossnys.keys >> /home/hossnys/.ssh/authorized_keys
  30. chown -R hossnys:hossnys /home/hossnys/.ssh