How to give a user access to only HOME Dictionary?

Posted September 23, 2014 8.3k 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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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