I want to create an user inmy ubuntu server, but this user CANNOT read outside his /home/user how can i do?
feedback
|
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, WesleyDavid, Scott Pack, Ward, Iain♦ Sep 17 '11 at 16:16
This question is not a good fit to our Q&A format. We expect answers to generally involve facts, references, or specific expertise; this question will likely solicit opinion, debate, arguments, polling, or extended discussion. See the FAQ for guidance on how to improve it.
|
You can use a popular jailing script written in python. Check it at the address: http://lshell.ghantoos.org/ | |||
|
feedback
|
|
Essentially, you want chrooted accounts. Here is a howto: http://www.howtoforge.com/chrooted-ssh-sftp-tutorial-debian-lenny More information can be found in the sshd_config's man page: http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5 | ||||
|
feedback
|