correction dau.sh
This commit is contained in:
parent
115a001933
commit
6e7a12f55b
@ -8,5 +8,4 @@ fi
|
|||||||
|
|
||||||
# chiffremment du mot de passe $1 avec bcrypt
|
# chiffremment du mot de passe $1 avec bcrypt
|
||||||
hashpass=$(htpasswd -bnBC 10 "" $1|tr -d '/d')
|
hashpass=$(htpasswd -bnBC 10 "" $1|tr -d '/d')
|
||||||
bon=$1$hashpass:$1:$1@localhost:$1,user
|
echo "${1}${hashpass}:${1}:${1}@localhost:${1},user"
|
||||||
echo $bon
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user