|
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.
|