From 925f840516306fbc14f015e60681ea1573dbbacb Mon Sep 17 00:00:00 2001 From: "aboulai.bayo" Date: Mon, 24 Mar 2025 09:56:47 +0100 Subject: [PATCH] git push --- sisr1/tp04_scripts_admin/createUsers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sisr1/tp04_scripts_admin/createUsers.sh b/sisr1/tp04_scripts_admin/createUsers.sh index 044adfb..32558db 100644 --- a/sisr1/tp04_scripts_admin/createUsers.sh +++ b/sisr1/tp04_scripts_admin/createUsers.sh @@ -5,7 +5,7 @@ do username=$(echo $ligne | cut -d ";" -f1) useradd -m -s "/bin/bash" $username -group=$(echo $ligne | -d ";" -f5) +group=$(echo $ligne | cut -d ";" -f5) usermod -aG $group $username #le mot de passe de l'utilisateur echo $username:$passwd | chpasswd