PAM authentication on WWW page
From: Sławomir Kolasiński (slawu_at_sus.univ.szczecin.pl)
Date: 08/08/03
- Previous message: nunya: "Re: I Need iptables scripts - Samples"
- Next in thread: Juha Laiho: "Re: PAM authentication on WWW page"
- Reply: Juha Laiho: "Re: PAM authentication on WWW page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 8 Aug 2003 01:23:30 -0700
Hi.
I want to write a login web page using Apache and perl. I want it to
authorize users using PAM. I wrote a script using Authen::PAM perl package
and it works correctly when I launch it from a terminal. When I run the script
from my WWW browser it refuses to authenticate anyone. I use service name
"login" and my Apache is configured to run scripts as user nobody (I guess it
has something to do with the case).
How can I make PAM authenticate users even when my script is run as nobody?
All i really want is to use my system's user database so I don't have to
put users in pgsql database and synchronize it each time someone adds a new user.
Thanks
Slawek
- Previous message: nunya: "Re: I Need iptables scripts - Samples"
- Next in thread: Juha Laiho: "Re: PAM authentication on WWW page"
- Reply: Juha Laiho: "Re: PAM authentication on WWW page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|