Create new SFTP user with limited access to the server's folders

February 6, 2014 2.6k views
I'd like to create SFTP users to let others access specific folders of my server. I'm running centOS.
1 comment
  • I am also running centOS. I would like to know how to setup a new SFTP user with access to only one directory of my server. However, FMCB's answer to this question is confusing to me. I have never used centOS nor any other server OS. So I have NO idea how to "create a group" nor "assign a user to a group". I'm sorry but can anyone put this in layman's terms or direct me to some detail instructions? I've only been using DO for a couple days and this is all very new to me.

1 Answer
general guidelines-->

1- create a group and grant permissions you want to this group.

2- add users to that group you made.

if each user will be given different permission, then it is always better to create multiple group with primary group so that the secondary can be controlled by the primary one.

Have another answer? Share your knowledge.