changed /usr/local/bin/checkpasswd to 755 but did not think it would be wise to change the the entire /usr/local directory like you suggest anyway i just get the same output now as my wheel user rmvg as i did with su

v22.computerking.ca > ~ $ls -l /usr/local/bin/checkpassword
-rwxr-xr-x  1 root  wheel  7676 Mar  5 03:59 /usr/local/bin/checkpassword
[Wed Jun 09] 03:22 PM [0]


v22.computerking.ca > ~ $echo "rmvg\0xxxxxx\0" | /usr/local/bin/checkpassword 3<&0 echo; echo $?
2



Andreas Aardal Hanssen wrote:

On Wed, 9 Jun 2004, RYAN vAN GINNEKEN wrote:


echo "rmvg\0xxxxxx\0" | /usr/local/bin/checkpassword 3<&0 echo; echo $?
-bash: /usr/local/bin/checkpassword: Permission denied
126



What are the permissions of checkpassword? Try this:

ls -l /usr/local/bin/checkpassword

Then try this:

chmod 755 /usr/local/bin/checkpassword
chmod 755 /usr/local/bin
chmod 755 /usr/local

Might do the trick.

Andy :-)

--
Andreas Aardal Hanssen   | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP      |  "It is better not to do something
http://www.bincimap.org/ |        than to do it poorly."




Reply via email to