|laziness, impatience, and hubris|
Authen::Simple::PAM over CGIby gman (Friar)
|on Oct 06, 2010 at 14:44 UTC||Need Help??|
gman has asked for the
wisdom of the Perl Monks concerning the following question:
I'm working on using Authen::Simple::PAM on a CGI script. I consistently fail authentication when submitting over CGI, works on command line. The user I use on the comand line does have a shell, as opposed to apache user, could this be the issue? Below is sample code that demonstrates the problem. I did find a link on the web link and this appeared to work for them, so I am wondering if this is an environment issue on my server (188.8.131.52-170.2.117.fc10.i686).
UPDATE: In case I was not clear, the following works;