I'm quite new to Linux, I'm running CentOS 6.7 and I'm trying to follow best practice procedure of creating a user "instead of using root" but I want to restrict their SSH file browsing capability to their home directory.
I've got vsftpd running and it works fine for FTP, and when I log on as the user via SSH it defaults to their home directory but they can then just "cd /" and go where they want.
I realize vsftpd is a separate entity but there was an option I turned on there too lock users to their home directories, can I do this within the command line too?
I also don't want the user to have permissions to run sudo commands, so perhaps there's a permission level I should assign to the account?
Apologies if this is a simple question but I couldn't find an answer Googling, (I was probably wording it poorly).