Sorry, let me rephrase the question again: I need define a user /password for sasl but want the authentication at runtime be automatic - no explicit promting the user while accessing a tcp socket with some applications that need authentication (e.g libvirt) I try : saslpasswd2 -c -p -a libvirt <user> and it hangs (if i now press Enter it says : "invalid parameter supplied") . if I avoid the -p flag the above commad works fine and prompts for password and later when using the tcp (virsh -c qemu+tcp:...) it prompts for the above defined user/password and autheticates ok. But I want without the explicit authentication The man pages says : "-p Pipe mode - saslpasswd2 will neither prompt for the password nor verify that it was entered correctly. This is the default when standard input is not a terminal. " In the past (before upgrading of libvirt via rpm) I had the SASL authentication done automatically without prompting the user at runtime (virsh qemu+tcp:///system <command> ) and without need to configure that. Don't know how to restore it . Any help ? thanks Zvi Dubitzky Email:dubi@xxxxxxxxxx libvirt-users-bounces@xxxxxxxxxx wrote on 26/03/2011 18:00:08: > From: libvirt-users-request@xxxxxxxxxx > To: libvirt-users@xxxxxxxxxx > Date: 26/03/2011 18:08 > Subject: libvirt-users Digest, Vol 15, Issue 25 > Sent by: libvirt-users-bounces@xxxxxxxxxx > > Send libvirt-users mailing list submissions to > libvirt-users@xxxxxxxxxx > > To subscribe or unsubscribe via the World Wide Web, visit > https://www.redhat.com/mailman/listinfo/libvirt-users > or, via email, send a message with subject or body 'help' to > libvirt-users-request@xxxxxxxxxx > > You can reach the person managing the list at > libvirt-users-owner@xxxxxxxxxx > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of libvirt-users digest..." > > > Today's Topics: > > 1. saslpasswd2 and virsh -c qemu+tcp:///system <command> > (Zvi Dubitzky) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 26 Mar 2011 16:27:06 +0300 > From: Zvi Dubitzky <DUBI@xxxxxxxxxx> > To: libvirt-users@xxxxxxxxxx > Subject: saslpasswd2 and virsh -c qemu+tcp:///system > <command> > Message-ID: > <OF80114F71.6895179C-ONC225785F.00498EC8-C225785F.0049E967@xxxxxxxxxx> > Content-Type: text/plain; charset="US-ASCII" > > I need define a user /password for sasl but want that to do the > verification > automatically no -promting ( or even maybe avoid the verification) while > using a tcp socket with some applications that need authentication (e.g > libvirt) > > so I try : saslpasswd2 -c -p -a libvirt <user> > > and it hangs (if i now press Enter it says : "invalid parameter > supplied") . if I avoid the -p flag the above commad works fine and > prompts for password and later when using the tc p (virsh -c > qemu+tcp:...) it prompts for the above defined user/password and > autheticates ok . > But I want without the prompting > > The man pages says > -p Pipe mode - saslpasswd2 will neither prompt for the password nor > verify that it was entered correctly. This is the default when standard > input is not a terminal. > > In the past (before some upgrading of libvirt via rpm) the SASL > authentication was done automatically no need for prompting > Don't know how to restore it . > > Any help ? > > thanks > > Zvi Dubitzky > Email:dubi@xxxxxxxxxx > > > > > ------------------------------ > > _______________________________________________ > libvirt-users mailing list > libvirt-users@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/libvirt-users > > End of libvirt-users Digest, Vol 15, Issue 25 > *********************************************