Hello Jason,
(JJ == "Jason Jacobs") [EMAIL PROTECTED] writes:
JJ> Does anyone know how I can sign into a site through a shell
JJ> (Telnet, FTP program, etc) with the PHP user?
$ ps aux | egrep '([w]ww|[n]obody)' | su `awk '{ print $1 }'`
or
$ which php | ls -l `awk '{ print $1 }'`
..And look in columns 3 and 4 for user and group, respectively.
JJ> How can I find out the password that PHP uses (or does it...)?
If it is a CGI, it's the password of the user that owns the
executable. (there may also be setuid/setgid issues but I'm not
getting into that).
If it's running as an Apache static or DSO, it's the user the
webserver is running as.
JJ> Jason
-Brian
--
Structured Programming supports the law of the excluded muddle.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]