I'm having a little bit of an issue setting up a user account to operate the way I'd like. I'd like to set up an account for users to log in remotely (over SSH) and *only* have permissions to run about a half dozen commands from CLI. I don't want to let them have the ability to leave their home directory, I don't want them to be able to change their permissions, and I really don't want them to have sudo access. I'd like to do all this and not mess up other user accounts on the machine.
I created a new account using adduser and since its not listed under /etc/sudoers it doesn't have sudo access, as I desired. However, getting the other restrictions in place seems to elude me. Any help is welcome here.
Bookmarks