Ubuntu Server 16.04.1 x64. Mounts - /boot, /, /home I have example user1
Can I restrict the user1 to run the only 2 or 3 programs via SSH only in user1 home directory (/home/user1), and disable the ability to navigate through the folder /bin, /etc, /var, /tmp, /boot and other.
I need to allow the user1 to run only - screen, unzip, top, java
And deny to run any other commands (rm, cp, mv and others)
Deny to cd above its catalog. Deny delete, or copy any file from /etc to /home/user1 directory.