Exim/commands/exim_passwd.sh

11 lines
167 B
Bash
Raw Normal View History

2016-10-05 22:40:56 +00:00
#!/usr/bin/env bash
echo "Username: "
read username
echo "Domain: "
read domain
echo "Password: "
userdbpw -md5 | userdb "$username@$domain" set systempw
makeuserdb