PAM Authentication
| From: | Kyle Baczynski | Date: | Wed, 02 Apr 2008 21:05:16 +0000 |
| Subject: | PAM Authentication | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-272468@lists.php.net to get a copy of this message | ||
Hi,
I'm writing a script which requires PAM authentication in order for my users to log in. Unfortunately, it seems the PAM package on PECL won't work, as FreeBSD has no pam_pwdb.so file, so it returns a blank result.
Can someone enlighten me on how to get pecl/PAM working, or another method that I might use? I can't just parse the file directly, as only root has access to the master.passwd file, and the passwd file is shadowed.
PHP: 5.2.5, suPHP/CGI
OS: FreeBSD 7.0-RELEASE
Apache: Apache/2.2.8 (FreeBSD) mod_ssl/2.2.8 OpenSSL/0.9.8e DAV/2
Thanks in advance!
Kyle Baczynski