How can I prevent users accessing anything but their own home directory?
For example, I have a NTFS partition mounted under /media/ntfs
, so if the user logs in through ssh he can reach this partition. How can I disable the users to cd
out from their home directory?