I just recently deployed a LAMP stack that came as a package for Linode (a VPS host), I can successfully run Apache 2 but the process and all my files within are owned by
root. On my shared web host I could run as nobody or similar to help restrict access, how can I do this myself on my VPS?
I think the steps would be:
- Create user
- Write in httpd.conf to use
- recursively chown all my files to
I simply can not find a solution except to use another package and have it installed like that, I would really enjoy some guidence on this. Thank you.