In a *nix shell, you can see the owner of the Apache process (i.e. the user the process is run as), by using the following command:
ps aux | egrep '(apache|httpd)'
ps aux command lists all running processes (including the user/owner of the process), while
egrep '(apache|httpd)' filters the results by Apache process names (i.e. "
apache" or "
This post was published by Daniyal Hamid. Daniyal currently works as the Head of Engineering in Germany and has 20+ years of experience in software engineering, design and marketing. Please show your love and support by sharing this post.