Solved

admin account vs user account

Posted on 2014-12-12
3
181 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 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
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…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
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.

679 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