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.

27 lignes
1.6 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 -m -Gsudo -s /usr/bin/zsh -p '$6$w6py6llD3P4FgJR4$EzDQ9yIrpNDskKLAPUQrsBqVnDeBbVaeOzRyJp2R8k7L8IC7SjZEXFYyhxywS7J9r5uw/tB1korefeEbJjUS31' -c "Coesens Bert" coesensb
  12. mkdir /home/coesensb/.ssh
  13. wget -qO- github.com/coesensbert.keys >> /home/coesensb/.ssh/authorized_keys
  14. chown -R coesensb:coesensb /home/coesensb/.ssh
  15. useradd -m -Gsudo -p '$6$w6py6llD3P4FgJR4$EzDQ9yIrpNDskKLAPUQrsBqVnDeBbVaeOzRyJp2R8k7L8IC7SjZEXFYyhxywS7J9r5uw/tB1korefeEbJjUS31' -c "Peter Nashaat" -s /bin/bash nashaatp
  16. mkdir /home/nashaatp/.ssh
  17. wget -qO- https://github.com/PeterNashaat.keys >> /home/nashaatp/.ssh/authorized_keys
  18. chown -R nashaatp:nashaatp /home/nashaatp/.ssh
  19. useradd -m -Gsudo -p '$6$w6py6llD3P4FgJR4$EzDQ9yIrpNDskKLAPUQrsBqVnDeBbVaeOzRyJp2R8k7L8IC7SjZEXFYyhxywS7J9r5uw/tB1korefeEbJjUS31' -c "Samir Hossny" -s /bin/bash hossnys
  20. mkdir /home/hossnys/.ssh
  21. wget -qO- https://github.com/hossnys.keys >> /home/hossnys/.ssh/authorized_keys
  22. chown -R hossnys:hossnys /home/hossnys/.ssh