?
Solved

admin account vs user account

Posted on 2014-12-12
3
Medium Priority
?
199 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 84

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 1000 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 1000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Suggested Courses
Course of the Month15 days, 12 hours left to enroll

850 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