note 20848 added to function.posix-getpwnam
| From: | perreal at lyon dot cemagref dot fr | Date: | Thu, 18 Apr 2002 12:47:06 +0000 |
| Subject: | note 20848 added to function.posix-getpwnam | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29521@lists.php.net to get a copy of this message | ||
To check passwords on a Unix-box, look at the mod_auth_external module for Apache, it uses external
programs to do the real job. The server won't ever read the encrypted password.
One of them, pwauth, can be configured to use PAM or whatever is used on your system. Users that can
run this program are configured at compile time. And this program can be called from PHP with
exec(...).
--
http://www.php.net/manual/en/function.posix-getpwnam.php
http://master.php.net/manage/user-notes.php?action=edit+20848
http://master.php.net/manage/user-notes.php?action=delete+20848
http://master.php.net/manage/user-notes.php?action=reject+20848