RE: [PHP] Login verification

From: Date: Mon, 12 Nov 2001 08:15:34 +0000
Subject: RE: [PHP] Login verification
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-74235@lists.php.net to get a copy of this message
i would think you could just use crypt() to check the pass against what you read in from the file -----Original Message----- From: Ashley M. Kirchner [mailto:ashley@pcraft.com] Sent: Monday, November 12, 2001 2:27 AM To: PHP-General List Subject: [PHP] Login verification I want to make a login page in PHP, which will check the user/password against the system's user/password file (in my case, /etc/passwd and /etc/shadow.) With the machine running PAM, how can I have PHP do this? Keep in mind I don't need to modify anything, just verify the login. Once verified, the script either continues on to doing other things, or it bombs with a bad login page. -- H | "Life is the art of drawing without an eraser." - John Gardner +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:ashley@pcraft.com> . 303.442.6410 x130 Director of Internet Operations / SysAdmin . 800.441.3873 x130 Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave, #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#74235) next »