On 24/04/22 22:45, ミユナ (alice) wrote:
ok the helps says:
pw [-l] [-p plaintext]
i just thought it specifies the text file.
thanks for clarifying it.
Bernardo Reino wrote:
The argument to "-p" is not a file containing the password, but the
password itself!
The downside of putting the password on the command line is that it will
(briefly) be visible in the output of 'ps':
richard 9449 0.0 0.0 5040 3616 pts/4 R+ 19:27 0:00
/usr/bin/doveconf -f service=doveadm -c /etc/dovecot/dovecot.conf -m
doveadm -e /usr/bin/doveadm pw -p asdf
Cheers,
Richard