git push
This commit is contained in:
parent
925f840516
commit
ef6152e080
@ -8,6 +8,7 @@ useradd -m -s "/bin/bash" $username
|
||||
group=$(echo $ligne | cut -d ";" -f5)
|
||||
usermod -aG $group $username
|
||||
#le mot de passe de l'utilisateur
|
||||
passwd=$(echo $ligne | cut -d ";" -f2)
|
||||
echo $username:$passwd | chpasswd
|
||||
chown $username:$username /home/$username
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user