Rsync with a user other than root.


Recommended Posts

As the title suggests I'm trying to backup my synology server to unraid.

I am not using ssh keys but just standard user/pass. i thought it would be as simple as adding the new user to an allow list of some sort..

I can get hyper backup to do this if i use the root credentials but i cannot seem to find how to grant a "backup" user rsync privileges? 

Link to comment
  • 1 month later...
1 hour ago, Derek_ said:

Hi Fluffy - yes you can. You'll need the SSH Plugin which allows you to setup a user with a home and /bin/bash profile.

 

I use my "backup-user" to SSH into unRAID and i've actually disabled SSH as root.

I don't recommend to do this. The Unraid system uses "users" differently from traditional linux systems.

 

Link to comment
4 minutes ago, bonienl said:

I don't recommend to do this. The Unraid system uses "users" differently from traditional linux systems.

 

It seems to work fine for me at least - it allows the owner of my backed-up files to be that user, and means i don't have to SSH as root. Maybe it depends what you're trying to do?

 

Do you know of any specific side-affects?

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.