Re: bash and password variable

2013-10-20 Thread Pol Hallen
Easiest is: $ echo password > file.txt $ saslpasswd user1 < file.txt Otherwise you need to use expect. 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

Re: bash and password variable

2013-10-20 Thread Igor Cicimov
On 20/10/2013 11:23 PM, "Pol Hallen" 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 UNSUBSCRI

bash and password variable

2013-10-20 Thread Pol Hallen
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 "unsu