Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- uid = pi
- gid = pi
- read only = false
- use chroot = true
- transfer logging = true
- log format = %h %o %f %l %b
- log file = /var/log/rsyncd.log
- hosts allow = 192.168.99.0/24
- [main]
- path = /Y/rsync
- comment = Rsync main directory for tests
- auth users = USER01, USER02, USER03
- secrets file = /etc/rsyncd.secrets
- USER01:pw1
- USER02:pw2
- USER03:pw3
- pi@RP02 ~ $ rsync --list-only USER01@RP01::main
- Password:
- drwxrwxrwx 0 2016/06/23 19:17:16 .
- -rwxrwxrwx 8 2016/06/23 19:09:06 test01.txt
- drwxrwxrwx 0 2016/06/23 19:22:18 Test-FS2
- pi@RP02 ~ $ rsync --list-only USER01@RP01:main
- USER01@rp01's password:
- Permission denied, please try again.
- pi@RP02 ~ $ rsync --list-only pi@RP01:/
- pi@rp01's password:
- drwxr-xr-x 4096 2016/05/20 17:01:25 .
- drwxr-xr-x 4096 2016/06/12 16:02:53 bin
- ...
- drwxr-xr-x 4096 2015/02/16 15:02:42 var
- rsync --list-only pi@RP01:main
- pi@RP02 ~ $ rsync --list-only pi@RP01::main
- Password:
- @ERROR: auth failed on module main
- rsync error: error starting client-server protocol (code 5) at main.c(1534) [Receiver=3.0.9]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement