*New 11.3 series Release:
2019-10-19: XigmaNAS 11.3.0.4.7014 - released

*New 12.0 series Release:
2019-10-05: XigmaNAS 12.0.0.4.6928 - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS 11.2.0.4.6881 - 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 NAS4Free 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 » 19 Sep 2016 08:13

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

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

Re: rsyncd.secrets

#2

Post by tony1 » 20 Sep 2016 16:41

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 » 22 Sep 2016 10:44

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: 172
Joined: 14 Jul 2016 19:04
Status: Offline

Re: rsyncd.secrets

#4

Post by tony1 » 22 Sep 2016 17:24

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 » 23 Sep 2016 15:41

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: 172
Joined: 14 Jul 2016 19:04
Status: Offline

Re: rsyncd.secrets

#6

Post by tony1 » 24 Sep 2016 19:26

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 » 01 Nov 2016 11:32

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

Post Reply

Return to “RSYNC”