|
I feel like I'm talking to myself here... :p
I now have the script I described above working, so I can verify a username/password against Unix /etc/passwd or /etc/shadow files.
Does anyone know if it is possible to "re-login" to the shell through a PHP script under a different user? For example, is it possible to re-login under a different username (eg, system("echo $pass | login $user") ), and will this affect subsequent calls to system() be under this username or will the shell be "reset"?
|