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! :)

link|improve this question
feedback

1 Answer

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).

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

Your Answer

 
or
required, but never shown