16 Jun
2021
16 Jun
'21
11:23 a.m.
Hello everybody,
I am using 'doveadm pw' from inside a bash script to generate the salted hash for a user provided password. I call it like: doveadm pw -s SHA256-CRYPT -u $user -p $password
Is there any possible way to use piping (so it won't show up in ps for example) to pass the username and password to 'doveadm pw' instead of using arguments?
Dovecot version: 2.3.14
Many thanks,
Kevin