I want to create an user inmy ubuntu server, but this user CANNOT read outside his /home/user how can i do?
migrated from stackoverflow.com Sep 16 '11 at 20:00
This question came from our site for professional and enthusiast programmers.
closed as not constructive by Zoredache, Wesley, Scott Pack, Ward, Iain Sep 17 '11 at 16:16
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.
You can use a popular jailing script written in python. Check it at the address: http://lshell.ghantoos.org/
Essentially, you want chrooted accounts. Here is a howto:
More information can be found in the sshd_config's man page: