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