Mobile app version of vmapp.org
Login or Join
Connie744

: On my shared Linux webserver apache user is same as my user, is that standard? I ran the following command, when logged into my shared Linux host to see what user Apache was running as: ps

@Connie744

Posted in: #Linux

I ran the following command, when logged into my shared Linux host to see what user Apache was running as:

ps aux | egrep '(apache|httpd)'


And it was the same user that I use on the server.

ie.

myuser@example.com [~/public_html]# ps aux | egrep '(apache|httpd)'
myuser 44904 0.0 0.0 61244 724 pts/0 S+ 15:43 0:00 egrep (apache|httpd)


Is that standard for shared hosts? On my development computer apache runs under the user www-data, and in documentation or tutorials on file permissions for certain CMS environments, I see reference to Apache working under the user www-data all the time.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Connie744

1 Comments

Sorted by latest first Latest Oldest Best

 

@Chiappetta492

Webservers run with www-data as user, as what you saw is just the process of the command you typed

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme