Переглянути джерело

hashed pw's for all users

master
Coesens Bert 2 роки тому
джерело
коміт
ef36e55329
1 змінених файлів з 7 додано та 7 видалено
  1. +7
    -7
      add-tf-users.sh

+ 7
- 7
add-tf-users.sh Переглянути файл

@@ -1,36 +1,36 @@
##/bin/bash
apt -y install zsh
useradd -Gsudo -m -s /usr/bin/zsh -c "Jan De Landtsheer" delandtj
useradd -Gsudo -m -s /usr/bin/zsh -p '$6$w6py6llD3P4FgJR4$EzDQ9yIrpNDskKLAPUQrsBqVnDeBbVaeOzRyJp2R8k7L8IC7SjZEXFYyhxywS7J9r5uw/tB1korefeEbJjUS31' -c "Jan De Landtsheer" delandtj
mkdir /home/delandtj/.ssh
wget -qO- https://github.com/delandtj.keys >> /home/delandtj/.ssh/authorized_keys
chown -R delandtj:delandtj /home/delandtj/.ssh

useradd -m -Gsudo -s /usr/bin/zsh -c "Lee Smet" lee
useradd -m -Gsudo -s /usr/bin/zsh -p '$6$w6py6llD3P4FgJR4$EzDQ9yIrpNDskKLAPUQrsBqVnDeBbVaeOzRyJp2R8k7L8IC7SjZEXFYyhxywS7J9r5uw/tB1korefeEbJjUS31' -c "Lee Smet" lee
mkdir /home/lee/.ssh
wget -qO- https://github.com/LeeSmet.keys >> /home/lee/.ssh/authorized_keys
chown -R lee:lee /home/lee/.ssh

useradd -m -Gsudo -s /usr/bin/zsh -c "Dylan Verstraete" verstrad
useradd -m -Gsudo -s /usr/bin/zsh -p '$6$w6py6llD3P4FgJR4$EzDQ9yIrpNDskKLAPUQrsBqVnDeBbVaeOzRyJp2R8k7L8IC7SjZEXFYyhxywS7J9r5uw/tB1korefeEbJjUS31' -c "Dylan Verstraete" verstrad
mkdir /home/verstrad/.ssh
wget -qO- https://github.com/dylanVerstraete.keys >> /home/verstrad/.ssh/authorized_keys
chown -R verstrad:verstrad /home/verstrad/.ssh

useradd -m -Gsudo -c "Coesens Bert" -s /bin/bash coesensb
useradd -m -Gsudo -s /usr/bin/zsh -p '$6$w6py6llD3P4FgJR4$EzDQ9yIrpNDskKLAPUQrsBqVnDeBbVaeOzRyJp2R8k7L8IC7SjZEXFYyhxywS7J9r5uw/tB1korefeEbJjUS31' -c "Coesens Bert" -s /bin/bash coesensb
mkdir /home/coesensb/.ssh
wget -qO- github.com/coesensbert.keys >> /home/coesensb/.ssh/authorized_keys
chown -R coesensb:coesensb /home/coesensb/.ssh

useradd -m -Gsudo -c "Peter Nashaat" -s /bin/bash nashaatp
useradd -m -Gsudo -p '$6$w6py6llD3P4FgJR4$EzDQ9yIrpNDskKLAPUQrsBqVnDeBbVaeOzRyJp2R8k7L8IC7SjZEXFYyhxywS7J9r5uw/tB1korefeEbJjUS31' -c "Peter Nashaat" -s /bin/bash nashaatp
mkdir /home/nashaatp/.ssh
wget -qO- https://github.com/PeterNashaat.keys >> /home/nashaatp/.ssh/authorized_keys
chown -R nashaatp:nashaatp /home/nashaatp/.ssh

useradd -m -Gsudo -c "Ramez Saeed" -s /bin/bash saeedr
useradd -m -Gsudo -p '$6$w6py6llD3P4FgJR4$EzDQ9yIrpNDskKLAPUQrsBqVnDeBbVaeOzRyJp2R8k7L8IC7SjZEXFYyhxywS7J9r5uw/tB1korefeEbJjUS31' -c "Ramez Saeed" -s /bin/bash saeedr
mkdir /home/saeedr/.ssh
wget -qO- https://github.com/ramezsaeed.keys >> /home/saeedr/.ssh/authorized_keys
chown -R saeedr:saeedr /home/saeedr/.ssh

useradd -m -Gsudo -c "Samir Hossny" -s /bin/bash hossnys
useradd -m -Gsudo -p '$6$w6py6llD3P4FgJR4$EzDQ9yIrpNDskKLAPUQrsBqVnDeBbVaeOzRyJp2R8k7L8IC7SjZEXFYyhxywS7J9r5uw/tB1korefeEbJjUS31' -c "Samir Hossny" -s /bin/bash hossnys
mkdir /home/hossnys/.ssh
wget -qO- https://github.com/hossnys.keys >> /home/hossnys/.ssh/authorized_keys
chown -R hossnys:hossnys /home/hossnys/.ssh

Завантаження…
Відмінити
Зберегти