This commit is contained in:
2025-03-24 09:45:10 +01:00
parent 05dc93b47a
commit 6171fbe6da
3 changed files with 20 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ useradd -m -s "/bin/bash" $username
group=$(echo $ligne | -d ";" -f5)
usermod -aG $group $username
#le mot de passe de l'utilisateur
echo $username:$passwd | chpasswd
chown $username:$username /home/$username