View Single Post
Old May 10th, 2006, 6:35 PM   #2
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 855
Rep Power: 3 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
An update since my last post...

I've determined that the best way to go about verifying user passwords would be to read the encrypted password in /etc/passwd or /etc/shadow.

I need to give my PHP script read-only access to that file, without changing that file's permissions (it is a system file). Is this possible? Thanks.

EDIT: Oops, I was trying to use popen() instead of fopen(). However I am still curious how one would go about increasing a PHP script's permissions, if anyone knows.
titaniumdecoy is offline   Reply With Quote