*New 12.1 series Release:
2020-04-17: XigmaNAS 12.1.0.4.7542 - released

*New 11.3 series Release:
2020-04-16: XigmaNAS 11.3.0.4.7538 - released!


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

rsyncd.secrets

Synchronize files & directories to/from XigmaNAS with minimal data transfer.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
gps4net
NewUser
NewUser
Posts: 4
Joined: 18 Sep 2016 21:51
Status: Offline

rsyncd.secrets

#1

Post by gps4net »

Using the embedded version, Is there a way to store rsyncd.secrets anywhere without losing it upon reboot?

User avatar
tony1
Moderator
Moderator
Posts: 171
Joined: 14 Jul 2016 19:04
Status: Offline

Re: rsyncd.secrets

#2

Post by tony1 »

I don't use rsyncd but you should be able to put it on a dataset or directory.
in "Auxiliary parameters" try something like "secrets file = /mnt/tank/some-dataset or directory/rsyncd.secrets
rsyncd.secrets possibly needs to have special or restricted permissions.
take care

gps4net
NewUser
NewUser
Posts: 4
Joined: 18 Sep 2016 21:51
Status: Offline

Re: rsyncd.secrets

#3

Post by gps4net »

What about the client? There is no way I could specify a password option to access a module, unless maybe using the --password-file option.

I've also tried to create a cronjob instead, with the environment variable RSYNC_PASSWORD= and while it runs fine with "Run Now" option (thus blocking the UI until the transfer finishes) it doesn't get executed at the particular time it's supposed to. It doesn't run at all.

User avatar
tony1
Moderator
Moderator
Posts: 171
Joined: 14 Jul 2016 19:04
Status: Offline

Re: rsyncd.secrets

#4

Post by tony1 »

I think you use --password-file=FILE in Extra options of the client? Services|Rsync|Client
I don't used rsyncd but it should work.

https://rsync.samba.org/ftp/rsync/rsync.html

piwwo
Starter
Starter
Posts: 27
Joined: 21 Mar 2013 15:30
Status: Offline

Re: rsyncd.secrets

#5

Post by piwwo »

I stumbled over the same problem. I save it either in the /cf folder (after remounting it rw), which has the caveat that it's rather quirky to edit that file each time you add a new user or save it on the storage drive, which is less quirky but still forces you to edit that file via ssh on the NAS. The GUI really needs an option for that so it gets stored in the config.xml together with the module. Is a feature request valid here?

User avatar
tony1
Moderator
Moderator
Posts: 171
Joined: 14 Jul 2016 19:04
Status: Offline

Re: rsyncd.secrets

#6

Post by tony1 »

you need to look at the man pages real close.
like I have said before, I don't use it but the --config=FILE option looks like it could be nice!

piwwo
Starter
Starter
Posts: 27
Joined: 21 Mar 2013 15:30
Status: Offline

Re: rsyncd.secrets

#7

Post by piwwo »

Eventually I went back to rsync over ssh with a ssh-key.

Post Reply

Return to “RSYNC”