admin account vs user account
Posted on 2014-12-12
I wish to know if there is a better way for user to configure the files under /var/www/html in a more convenient way?
I am running the web server. Each time when I have to make changes to the files under the /var/www/html directory, I need to copy it out to user's workspace and copy it back to /var/www/html with 'su' privilege.
What will be a better way that will allow the user to make the changes easily and still keep the / (root) directory secure?
I have few ideas:
1. add user to admin group
2. active public_html
3. change the document root
Besides the ideas from above, what is the best choice or there are other better choices?