Re: user (system) authentification
| From: | bbonkosk at tampabay dot rr dot com | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: user (system) authentification | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-149799@lists.php.net to get a copy of this message | ||
Well, make sure you tunnel it securly with SSL or the like, but have a look at:
http://us3.php.net/manual/en/function.crypt.php
-Brad
> Hi,
>
> is there a way, to verify a password via php, if it matches it's entry
> in /etc/shadow ?
> I am trying to write a script, which needs a user authentification on a
> server wide basis and since the users come and go rather fast on the
> server in question, i thought that the best way would be to let the user
> enter his system username & password and validate it with the one set in
> /etc/shadow for that entered username.
>
> md5() didn't work, so i guess that i am using the wrong method. Does
> anyone know, how i can achieve this?
>
> Regards,
> Duncan
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>