ajout user doku
This commit is contained in:
parent
396f476835
commit
db0726c442
9
sio1/sisr1/40-Shell/dau.sh
Executable file
9
sio1/sisr1/40-Shell/dau.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
set -u
|
||||
|
||||
login=$1
|
||||
password=$(htpasswd -bnBC 10 '' $1|tr -d '\d')
|
||||
|
||||
echo "${login}${password}:${login}:${login}@localhost:${login},user"
|
Loading…
x
Reference in New Issue
Block a user