grep user /etc/virtual/somedomain.com/passwd
user:$1$saltsalt$axvmnqdjkdE/BsPlbO6H/.:666:21::/home/web1/imap/somedomain.com/user:/bin/false
openssl passwd -1 -salt saltsalt KuX0oisaigoowe
$1$saltsalt$axvmnqdjkdE/BsPlbO6H/.
Random password was set to: KuX0oisaigoowe
This MD5-Crypt hash
Pingback: Change email password on Directadmin with CLI / command line » www.geekytuts.net