Where can I find documentation on this command? There is no "man dovecotpw" installed, and searching for "dovecotpw" on the wiki gives 4 pages that mention its existance.
Just executing the command with no options gives a password prompt that cannot be broken out of (had to kill from another terminal). The -h and -l options give some info, but not enough to plan how to integrate this into building the passdb/userdb. For example how to reference the appropriate file.
marconi/root/x0 /root 72# /usr/sbin/dovecotpw -h
/usr/sbin/dovecotpw: invalid option -- 'h' usage: dovecotpw [-l] [-p plaintext] [-s scheme] [-u user] [-V] -l List known password schemes -p plaintext New password -s scheme Password scheme -u user Username (if scheme uses it) -V Internally verify the hash marconi/root/x0 /root 73# /usr/sbin/dovecotpw -l CRYPT MD5 MD5-CRYPT SHA SHA1 SHA256 SMD5 SSHA PLAIN CLEARTEXT CRAM-MD5 HMAC-MD5 DIGEST-MD5 PLAIN-MD4 PLAIN-MD5 LDAP-MD5 LANMAN NTLM OTP SKEY RPA marconi/root/x0 /root 74#
On Mon, Apr 26, 2010 at 5:16 PM, Mike Abbott <michael.abbott@apple.com>wrote:
Is there a tool equivalent to the system "passwd" command
The dovecotpw command may be a good place to start.