> then i get an encryted password in a similar format but when i try n
> substitute this value for a particular user in /etc/shadow file and
> then try loggin in as the concerned user my login fails.
> Please do let me know if u have any clue as to why this is happening.
> am using rhel4

Modifying passwords isn't as easy as editing the shadow file. I
recommend you use the shell command `passwd' instead (it can be invoked
by your PHP script). You can provide secure access to that command to
your web server / PHP CLI using sudo.

--
Anant

--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      ([email protected])
List Information:  http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to