Created
May 19, 2018 21:40
-
-
Save skogaby/590f6e240fea2e268223fbc7dd6b12c6 to your computer and use it in GitHub Desktop.
rsync daemon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@madmonkey:~# cat /etc/rsyncd.conf | |
lock file = /var/run/rsync.lock | |
log file = /var/log/rsyncd.log | |
pid file = /var/run/rsyncd.pid | |
[root] | |
path = / | |
comment = Root access for fuckmyclassic | |
uid = root | |
gid = root | |
read only = no | |
list = yes | |
auth users = root | |
secrets file = /etc/rsyncd.secrets | |
root@madmonkey:~# cat /etc/rsyncd.secrets | |
root:root | |
root@madmonkey:~# cat /etc/inetd.conf | |
21 stream tcp nowait root ftpd ftpd -Sw / | |
22 stream tcp nowait root dropbear dropbear -iRB | |
23 stream tcp nowait root telnetd telnetd -i | |
513 stream tcp nowait root rlogind rlogind | |
514 stream tcp nowait root rshd rshd | |
873 stream tcp nowait root /bin/rsync rsync --daemon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment