Jailing a user to a specific folder ONLY
Lets say I have a user John, and He owns a specific folder on the server. Is there a way to keep him 'jailed' to this folder ONLY? That includes not being able to cd / or anywhere outside this folder. It would be like how the /root folder is for a normal user. They cant enter it, but all files and folders for this 'jailed' user would be simular. Hard to explain but I hope you get what I mean. Thanks alot.