Solved

admin account vs user account

Posted on 2014-12-12
3
183 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 83

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.
Suggested Courses

738 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