Finding out what user Apache is running as?

ps aux | egrep '(apache|httpd)' typically will show what apache is running as.

Usually you do not need to change the default user, “nobody” or “apache” are typically fine users. As long as its not “root” 😉

edit: more accurate command for catching apache binaries too

Leave a Comment