24 Apr
2022
24 Apr
'22
1:42 p.m.
On Sun, 24 Apr 2022, ミユナ (alice) wrote:
Hello
when i want to assign a password to a user, I need to write the plain passwd to a text file then do:
# doveadm pw -p input.txt {CRAM-MD5}77180880...
it's not that convenient to write to a file first.
does it support the format below?
doveadm pw "plain password"
providing the plain password as CL argument to generate a encrypted one.
The argument to "-p" is not a file containing the password, but the password itself!
so in your example above, the password would be "input.txt", which is pretty weak :)
Cheers. PS: man doveadm-pw