Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
6e7a12f55b |
@ -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"
|
||||
|
Reference in New Issue
Block a user