11 lines
167 B
Bash
11 lines
167 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
echo "Username: "
|
||
|
read username
|
||
|
echo "Domain: "
|
||
|
read domain
|
||
|
|
||
|
echo "Password: "
|
||
|
userdbpw -md5 | userdb "$username@$domain" set systempw
|
||
|
makeuserdb
|