?
Solved

Access for webmaster to /htdocs on Linux Apache

Posted on 2006-05-02
6
Medium Priority
?
718 Views
Last Modified: 2008-02-26
Olah!

Can you please suggest what would be the best method to allow a Webmaster to access a Suse Linux box to allow him to build and develop his stupid website?

Any tips on this would be appreciated, I tried giving him SSH, but this gives him access to more than just /htdocs.

Best Regards.
0
Comment
Question by:automatic_script
  • 2
  • 2
4 Comments
 
LVL 19

Expert Comment

by:CoccoBill
ID: 16594227
0
 

Author Comment

by:automatic_script
ID: 16595087
Much appreciated, but I already looked at chrooting the user into  /htdocs, but when this is done you end up with a /bin, /etc and /home within the htdocs which for obvious security reasons is a no-go situation.

Regards.
0
 
LVL 19

Accepted Solution

by:
CoccoBill earned 1000 total points
ID: 16595161
Chroot the user to his home dir (such as /home/webmaster), and remount /htdocs inside the jail:

mount --bind /htdocs /home/webmaster/htdocs

0
 

Author Comment

by:automatic_script
ID: 16596345
Thanks for the tip, implemented glftpd and jailed the user to his home directory there.
The mount --bind worked fine, but now the user has no rights to make folders or to edit the file because the /htdocs is outside
the /jail environment.

Do you know how to get around this?

Regards.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

862 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