I've been contemplating ways to restrict user access to their own directories, not allowing them to navigate above their own user directory.
I'm using SFTP, and don't want to install regular FTP because of all of the extra security problems that introduces.
rbash
sounds like a good idea, minus the fact it disables cd
. I want the user(s) to be able to create directories in their home directory, and navigate through their own folders.
A chroot
jail sounds like it comes with its own set of problems, and sounds like more of a headache than it's worth.
So, my question is, is there an easier way to limit a user to only being able to navigate their user directory, and not anything above their user directory?