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