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.

32 lignes
1.9 KiB

  1. ##/bin/bash
  2. apt -y install zsh
  3. useradd -Gsudo -m -s /usr/bin/zsh -p '$6$w6py6llD3P4FgJR4$EzDQ9yIrpNDskKLAPUQrsBqVnDeBbVaeOzRyJp2R8k7L8IC7SjZEXFYyhxywS7J9r5uw/tB1korefeEbJjUS31' -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 -p '$6$w6py6llD3P4FgJR4$EzDQ9yIrpNDskKLAPUQrsBqVnDeBbVaeOzRyJp2R8k7L8IC7SjZEXFYyhxywS7J9r5uw/tB1korefeEbJjUS31' -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 -Gsudo -m -s /usr/bin/zsh -p '$6$w6py6llD3P4FgJR4$EzDQ9yIrpNDskKLAPUQrsBqVnDeBbVaeOzRyJp2R8k7L8IC7SjZEXFYyhxywS7J9r5uw/tB1korefeEbJjUS31' -c "Muhamad Azmy." muhamada
  12. mkdir /home/muhamada/.ssh
  13. wget -qO- https://github.com/muhamadazmy.keys >> /home/muhamada/.ssh/authorized_keys
  14. chown -R muhamada:muhamada /home/muhamada/.ssh/
  15. useradd -m -Gsudo -s /usr/bin/zsh -p '$6$w6py6llD3P4FgJR4$EzDQ9yIrpNDskKLAPUQrsBqVnDeBbVaeOzRyJp2R8k7L8IC7SjZEXFYyhxywS7J9r5uw/tB1korefeEbJjUS31' -c "Coesens Bert" 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 -p '$6$w6py6llD3P4FgJR4$EzDQ9yIrpNDskKLAPUQrsBqVnDeBbVaeOzRyJp2R8k7L8IC7SjZEXFYyhxywS7J9r5uw/tB1korefeEbJjUS31' -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 -p '$6$w6py6llD3P4FgJR4$EzDQ9yIrpNDskKLAPUQrsBqVnDeBbVaeOzRyJp2R8k7L8IC7SjZEXFYyhxywS7J9r5uw/tB1korefeEbJjUS31' -c "Samir Hossny" -s /bin/bash hossnys
  24. mkdir /home/hossnys/.ssh
  25. wget -qO- https://github.com/hossnys.keys >> /home/hossnys/.ssh/authorized_keys
  26. chown -R hossnys:hossnys /home/hossnys/.ssh