xinted combined with rsync without password

Source: Internet
Author: User
Tags rsync

xinted combined with rsync without password

1. Installation

Yum install-y xinetd rsync

2. Configuration

Cat/etc/xinetd.d/rsync

# default:off# description:the rsync server is a good addition to an FTP server, as it #allows CRC Checksumming Etc.serv Ice rsync{disable= noflags= ipv6socket_type = streamwait = Nouser = Rootserver =/usr/b In/rsyncserver_args =--daemonlog_on_failure + = USERID}

Cat/etc/rsyncd.conf

UID = Rootgit = RootUse chroot = Nomax connections = 4strict modes = Yesport = 873pid File =/var/run/rsyncd.pidlock file =/var/run/rsync.locklog File =/var/log/rsyncd.log[backup]path =/srvcomment = This was test#host allow = Read Only = no

3. Start

/etc/init.d/xinetd start

4. Use

Rsync-rrav--delete/data/web/ip::backup


This article from the "Shallow faint" blog, please be sure to keep this source http://cuixiang.blog.51cto.com/8204722/1826445

xinted combined with rsync without password

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.