Update 5/30/2018: @CodingFree points out that the l2chroot script used in this blog post fails to handle /lib64, and @el_shoo confirms everything in this post still works as long as you create /lib64. I have updated the post to reflect this, great to see it still working almost 10 years later. I wanted to setup a way to allow SSH access to my machine but limit their abilities heavily. To do that I