You might want to try setting up an LDAP, kerberos, or NIS system before using the passwd and shadow file. There are some security issues that you might not be aware of...
Ray Hunter Firmware Engineer ENTERASYS NETWORKS -----Original Message----- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 8:21 AM To: Zenith Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Can I authenicate user with the accounts in passwd and shadow?? On Monday, March 4, 2002, at 07:51 PM, Zenith wrote: > But I wonder if I can check the user account against with the > /etc/passwd, i.e. use the system accounts. > You can do this I think. I just saw an Oreillynet article about it, I think. If this link doesn't tell you how, then I don't know. http://www.onlamp.com/pub/a/php/2001/07/26/encrypt.html HTH, Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php