From 6e7a12f55b76c8642c1edd999b18b63ba3272ce4 Mon Sep 17 00:00:00 2001 From: "anthony.arnoux" Date: Thu, 24 Mar 2022 11:55:43 +0100 Subject: [PATCH] correction dau.sh --- ap23/script/dau.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ap23/script/dau.sh b/ap23/script/dau.sh index 1ceef33..63d1197 100755 --- a/ap23/script/dau.sh +++ b/ap23/script/dau.sh @@ -8,5 +8,4 @@ fi # chiffremment du mot de passe $1 avec bcrypt hashpass=$(htpasswd -bnBC 10 "" $1|tr -d '/d') -bon=$1$hashpass:$1:$1@localhost:$1,user -echo $bon +echo "${1}${hashpass}:${1}:${1}@localhost:${1},user"