Don't ask to ask, just ask | |
PerlMonks |
Re: authenticate via cgi-binby strredwolf (Chaplain) |
on Jan 07, 2003 at 23:19 UTC ( [id://225107]=note: print w/replies, xml ) | Need Help?? |
Hmmm.... intresting question. However, didn't you think of a more direct solution, such as "Reading /etc/passwd and /etc/shadow, pharsing it, and whatnot?" Having a daemon copy /etc/shadow over so that's it's readable by Apache's user is also a better, simpler idea which goes well with it, and I think Perl's "crypt" has some code you can use to verify that a password is legit or not.
--
In Section
Seekers of Perl Wisdom
|
|