Solved

admin account vs user account

Posted on 2014-12-12
3
167 Views
Last Modified: 2014-12-12
Dear experts,

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?

Thanks.
0
Comment
Question by:Kinderly Wade
3 Comments
 
LVL 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 250 total points
ID: 40496875
Are these separate sites?  I use the 'per-user' setup with 'public_html' in each user's directory under '/home'.  This is also how most of my shared hosting is set up.
http://httpd.apache.org/docs/2.2/howto/public_html.html
0
 
LVL 19

Accepted Solution

by:
NickUpson earned 250 total points
ID: 40497015
if its one user on the machine you could just make them a member of the apache group
0
 

Author Closing Comment

by:Kinderly Wade
ID: 40497129
Thanks for the great solutions. At this moment there is only one user but may have more later.
0

Featured Post

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

Join & Write a Comment

Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now