RE: [PHP] Can I authenicate user with the accounts in passwd and shadow??
| From: | Hunter, Ray | Date: | Tue, 05 Mar 2002 16:15:53 +0000 |
| Subject: | RE: [PHP] Can I authenicate user with the accounts in passwd and shadow?? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-87285@lists.php.net to get a copy of this message | ||
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:pricee@hhbrown.com]
Sent: Tuesday, March 05, 2002 8:21 AM
To: Zenith
Cc: php-general@lists.php.net
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
pricee@hhbrown.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php