This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
rsyncd.secrets
-
gps4net
- NewUser

- Posts: 4
- Joined: 18 Sep 2016 21:51
- Status: Offline
rsyncd.secrets
Using the embedded version, Is there a way to store rsyncd.secrets anywhere without losing it upon reboot?
- tony1
- Moderator

- Posts: 169
- Joined: 14 Jul 2016 19:04
- Status: Offline
Re: rsyncd.secrets
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
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

- Posts: 4
- Joined: 18 Sep 2016 21:51
- Status: Offline
Re: rsyncd.secrets
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.
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.
- tony1
- Moderator

- Posts: 169
- Joined: 14 Jul 2016 19:04
- Status: Offline
Re: rsyncd.secrets
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
I don't used rsyncd but it should work.
https://rsync.samba.org/ftp/rsync/rsync.html
-
piwwo
- Starter

- Posts: 27
- Joined: 21 Mar 2013 15:30
- Status: Offline
Re: rsyncd.secrets
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?
- tony1
- Moderator

- Posts: 169
- Joined: 14 Jul 2016 19:04
- Status: Offline
Re: rsyncd.secrets
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!
like I have said before, I don't use it but the --config=FILE option looks like it could be nice!
-
piwwo
- Starter

- Posts: 27
- Joined: 21 Mar 2013 15:30
- Status: Offline
Re: rsyncd.secrets
Eventually I went back to rsync over ssh with a ssh-key.