One security measure I'd like to implement in my ssh build is way to lock my user account to the directories with the data it needs to access. I was thinking I would use chroot, however, my limited understanding of this command leads me to believe that it only locks a user account to its home directory. This won't work in my case because the user's home directory is on another drive with a completely different directory from the drive and directories where the data is stored. How would I be able to lock down that user account to the data directories? Basically, If I'm connecting remotely to my user account, I only want the account to see those select directories with the data on them, not the entire directory tree as it is able to currently. I figured since remote root login is disabled, if an intruder were to access my user account, he would not be able to see the entire system (easily) if I can implement this measure.
Thanks for all the help, and hopefully this thread is in the right place (this seemed to be the most "security" related forum) please inform me otherwise.
Thanks for all the help, and hopefully this thread is in the right place (this seemed to be the most "security" related forum) please inform me otherwise.