Re: Perl and Shadowed passwords

2002-04-23 Thread \"Anth Courtney\"
Hello Greg, You should get the Shadows extension, available from ftp://ftp.eur.nl/pub/homebrew/Shadow-0.01.tar.gz and install it as per the instructions provided. Then it's just a simple call at the top fo your script Use Shadows; and you can then use getspnam instead of getpwnam to return

Perl and Shadowed passwords

2002-04-23 Thread Greg Robertson
I am having a problem using perl to authorize users for a web project I am working on.   I am using getpwnam $user[1]; to get the users password to compare to the crypted version of it.   However when running the perl script, I only get x, the shadowed version of it.  To get the right crypted