Link to home
Start Free TrialLog in
Avatar of automatic_script
automatic_script

asked on

Access for webmaster to /htdocs on Linux Apache

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.
Avatar of CoccoBill
CoccoBill
Flag of Finland image

Avatar of automatic_script
automatic_script

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of CoccoBill
CoccoBill
Flag of Finland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.