[Dovecot] [checkpassword] I can't get a password from fd3

Lutz Preßler Lutz at Pressler.DE
Tue Jan 13 01:39:57 EET 2009


Hello Durk,

Am Montag, 12. Januar 2009 schrieb Durk Strooisma:
> I'm trying to implement checkpassword authentication with a simple bash
> script. In some way I can't get the password from file descriptor 3.
> 
> The start of script looks like this:
> 
> #!/bin/bash
> 
> read -d '\0' -r -u 3
You are missing the correct syntax to interpret backslash escapes here:

read -d $'\0' -r -u 3

will work. 

Lutz



More information about the dovecot mailing list