/home/rmvg #echo "rmvg\0xxxxxx\0" | /usr/local/bin/checkpassword 3<&0 echo; echo $?As mentioned previously, you need to supply a "-e" to bash to get the \0 expanded properly, yielding:
2
echo -e "rmvg\0xxxxxx\0" | /usr/local/bin/checkpassword 3<&0
Henry :-)
-- Henry Baragar Instantiated Software Inc. http://www.instantiated.ca
