search for: 1c5bbcdd

Displaying 1 result from an estimated 1 matches for "1c5bbcdd".

2009 Jan 12
3
[checkpassword] I can't get a password from fd3
Hi all, 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 USERNAME="${REPLY}" read -d '\0' -r -u 3 PASSWORD="${REPLY}" if [ -z "${USERNAME}" ] || [ -z "${PASSWORD}" ]