I just rented a VPS, in order to run a web server. I installed LAMP utilities and everything work.
I have actually only 1 user (root). This means everytime I want to connect to my server to modify files under /var/www/, I'm using the root account. This does not seem good to me (even if I use sFTP).
I would like to know if I have to use special user to manage my web files.
For example, create jsmith and run chown jsmith /var/www/index.html ?
www-datathe owner of/var/www? – ott-- Apr 19 '15 at 17:04