From f5c20813021e80c743003dad9628ce70902876bc Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Fri, 13 Oct 2000 03:28:12 +0000 Subject: [PATCH] Clear up conditions for running as root. --- .cvsignore | 5 +++-- rsyncd.conf.yo | 7 ++++++- 2 files changed, 9 insertions(+), 3 deletions(-) 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 -- 2.34.1