From: Martin Pool Date: Fri, 13 Oct 2000 03:28:12 +0000 (+0000) Subject: Clear up conditions for running as root. X-Git-Tag: mbp_bk_export0~221 X-Git-Url: http://git.samba.org/samba.git/?p=rsync.git;a=commitdiff_plain;h=f5c20813021e80c743003dad9628ce70902876bc Clear up conditions for running as root. --- diff --git a/.cvsignore b/.cvsignore index 10ae331a..b123745a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,5 +1,7 @@ -.ignore + .cvsignore +.ignore +ID Makefile a b @@ -18,4 +20,3 @@ tech_report.dvi tech_report.log tech_report.ps test - diff --git a/rsyncd.conf.yo b/rsyncd.conf.yo index d6a2f305..39352ae5 100644 --- a/rsyncd.conf.yo +++ b/rsyncd.conf.yo @@ -44,7 +44,12 @@ in string values. manpagesection(LAUNCHING THE RSYNC DAEMON) The rsync daemon is launched by specifying the --daemon option to -rsync. The daemon must run with root privileges. +rsync. + +The daemon must run with root privileges if you wish to use chroot, to +bind to a port numbered under 1024 (as is the default 873), or to set +file ownership. Otherwise, it must just have permission to read and +write the appropriate data, log, and lock files. You can launch it either via inetd or as a stand-alone daemon. If run as a daemon then just run the command "rsync --daemon" from a suitable