On 20/10/2013 11:23 PM, "Pol Hallen" <de...@fuckaround.org> wrote:
>
> Hi folks :-)
>
> I need create a programmatically script password using saslpasswd2
>
> saslpasswd user1
>
> after press enter I need (manually) insert a password
>
> How pass to saslpasswd a variable?
>
> Thanks!
>
> --
> Pol
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/5263cc21.7020...@fuckaround.org
>
Easiest is:
$ echo password > file.txt
$ saslpasswd user1 < file.txt
Otherwise you need to use expect.

Reply via email to