How to give a user access to only HOME Dictionary?

September 23, 2014 3.2k views

Hello guys,

I need help, I want the user to only have access to Home Dictionary and nothing else?
Can someone give me simple step by step on how to do this?

  • Adz
2 Answers

If only sftp it is easier, just allow sftp only access & chroot to a new directory

If you want to allow ssh access, you need to create a chroot jail, more complicated.

P.S. The chroot directory must be owned by root and not writable other than root

Have another answer? Share your knowledge.