saslpasswd2 programmatically password

"Pol Hallen" <[email protected]>
Newsgroups gmane.comp.security.cyrus.sasl
Message-ID <[email protected]>
Howdy :-)

I need create a script to set programmatically password to sasldb users

#!/bin/bash
pass=test
saslpasswd -c -u domain.org user0

how pass variable $pass to this script?

thanks!

Pol
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.