> Can this problem not be solved by using `pw -p "$(some cmd to echo the > password)"`? There is also the history command which would show passwords on command lines. Don't supply a password on the command line and doveadm will prompt you to type an invisible password same as linux passwd does. doveadm pw -s [scheme]