RE: [PHP] Authenticating from /etc/passwd remotely

From: Date: Thu, 02 Nov 2000 06:44:26 +0000
Subject: RE: [PHP] Authenticating from /etc/passwd remotely
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-23332@lists.php.net to get a copy of this message
On 01-Nov-00 Nold, Mark wrote: <snip> > Hi guys, > > I have a a security system on our webserver using PHP and sessions. > > What i would like to do is be able to authenticate (not authorise) user > names against passwords from a remote Unix box so users of that system can > also get access to the web pages. > > The goal is not to use a copy of the file or anything like that but actually > testing to see if the user has a valid pasword with as litle as possible > fuss. I've thought of using opening up a telnet session (via PHP) but there > really should be a better way. > > Thanks for any ideas, > If you run NIS then yp_match() is what you want. Otherwise a small C daemon on the remote box could listen on a port, and handle the authenticate, and return a 'Ya' - 'Na'. ('course all this should be behind the firewall) Regards, -- Don Read dread@texas.net There are old sailors, and there are foolish sailors; but damn few old foolish sailors. ---------------------------------------------

« previous php.general (#23332) next »