Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm running a Ubuntu server and wanted to know if there was a way to only allow a user (connecting via FTP and SSH) read and write access to their own /home/user/ directory and not let them read or write to anything else?

Thanks for your help! :)

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Here's a chroot jail for FTP on Ubuntu HowTo which should cover your requirements for FTP - securing your server for SSH users is a more complicated topic and will really depend upon what you want your users to be able to do (by default, file ownership and permissions will prevent users from altering files they don't own, but allowing users SSH access and allowing them to broadcast their passwords in plaintext over FTP is not ideal).

share|improve this answer
    
Awesome! How did I miss that from the config :) –  user58059 Oct 24 '10 at 0:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.