I just installed LAMP on my debian 6 vps. How can I find out as which user the web user is running? The reason I ask this question is because however I chmod my files I can always browse to it via my browser.
Thanks very much
ps waux | egrep "httpd|apache"
should tell you the user (which will probably be www-data).
3 years ago