Restrict rsync user


Recommended Posts

Is there any way to create a restricted user for use with rsync?

 

I have rsync working perfectly to sync a huge directory from my remote workstation to my unRAID server using the root user like this:

rsync -avzh --delete Pictures/ root@[external-ip-address]:/mnt/user/backup/

But I'd like to create a dedicated rsync user and give it access exclusively to the 'backup' share and no or very limited ability to SSH into the server.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.