Creating Limited User Accounts on Ubuntu Server
- by LonnieBest
Using Ubuntu server, I need to create some user accounts that have the following limitations:
(1) User may only view and manipulate files in their home directory.
(2) User may only execute commands related to rsync and sftp.
I want users to be able to backup files using rsync, and I want them to be able retrieve files using an sftp client like FileZilla.
Other than this, I don't want users to be able to view other files on the system, or execute any commands that might mess with the system.
I'm more of an Ubuntu Desktop user, and have very little experience administering a linux server. Most tutorials I've found assume I know things that I don't know. So I'm having difficulty setting this up.