Creating Limited User Accounts on Ubuntu Server
Posted
by LonnieBest
on Server Fault
See other posts from Server Fault
or by LonnieBest
Published on 2010-03-20T20:28:43Z
Indexed on
2010/03/20
20:31 UTC
Read the original article
Hit count: 680
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.
© Server Fault or respective owner