doveadm pw usage
Sam Kuper
sampablokuper at posteo.net
Mon Apr 25 11:55:58 UTC 2022
On Mon, Apr 25, 2022 at 07:30:16PM +1200, Richard Hector wrote:
> 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
Can this problem not be solved by using `pw -p "$(some cmd to echo the
password)"`?
E.g. if using Jason Donenfeld's password store application "pass",[1]:
pw -p "$(pass Email/mydomain.com)"
Sam
[1]: https://git.zx2c4.com/password-store/about/
More information about the dovecot
mailing list