Public repo to distribute scripts and config's
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 

37 lignes
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