Compare $string from PHP script to /etc/shadow file
I am trying to find a way for apache to compare a string to the passwords in the shadow file, so that I can use the same passwords for users linux accounts.
I've found that apache has no access to it, and so cat'ing the file and comparing the contents does not help, is there another more secure way of reading the contents the shadow file and comparing it a string sent from a webpage?
|