e92c693e33
Drop USE_GROFF, the only formatting difference is some extra whitespace. ok espie@
81 lines
3.0 KiB
Plaintext
81 lines
3.0 KiB
Plaintext
$OpenBSD: patch-rsyncd_conf_5,v 1.3 2011/10/18 20:24:24 naddy Exp $
|
|
--- rsyncd.conf.5.orig Fri Sep 23 18:35:55 2011
|
|
+++ rsyncd.conf.5 Tue Oct 18 16:51:20 2011
|
|
@@ -67,12 +67,11 @@ When run via inetd you should add a line like this to
|
|
and a single line something like this to /etc/inetd.conf:
|
|
.PP
|
|
.nf
|
|
- rsync stream tcp nowait root /usr/bin/rsync rsyncd \-\-daemon
|
|
+ rsync stream tcp nowait root ${PREFIX}/bin/rsync rsyncd \-\-daemon
|
|
.fi
|
|
|
|
.PP
|
|
-Replace \(dq\&/usr/bin/rsync\(dq\& with the path to where you have rsync installed on
|
|
-your system. You will then need to send inetd a HUP signal to tell it to
|
|
+You will then need to send inetd a HUP signal to tell it to
|
|
reread its config file.
|
|
.PP
|
|
Note that you should \fBnot\fP send the rsync daemon a HUP signal to force
|
|
@@ -347,14 +346,13 @@ for modules to be listable.
|
|
This parameter specifies the user name or user ID that
|
|
file transfers to and from that module should take place as when the daemon
|
|
was run as root. In combination with the \(dq\&gid\(dq\& parameter this determines what
|
|
-file permissions are available. The default is uid \-2, which is normally
|
|
-the user \(dq\&nobody\(dq\&.
|
|
+file permissions are available. The default is \(dq\&_rsync\(dq\&.
|
|
.IP
|
|
.IP "\fBgid\fP"
|
|
This parameter specifies the group name or group ID that
|
|
file transfers to and from that module should take place as when the daemon
|
|
-was run as root. This complements the \(dq\&uid\(dq\& parameter. The default is gid \-2,
|
|
-which is normally the group \(dq\&nobody\(dq\&.
|
|
+was run as root. This complements the \(dq\&uid\(dq\& parameter. The default is
|
|
+\(dq\&_rsync\(dq\&.
|
|
.IP
|
|
.IP "\fBfake super\fP"
|
|
Setting \(dq\&fake super = yes\(dq\& for a module causes the
|
|
@@ -466,7 +464,7 @@ limit the length of passwords that can be typed at the
|
|
you may find that passwords longer than 8 characters don\(cq\&t work.
|
|
.IP
|
|
There is no default for the \(dq\&secrets file\(dq\& parameter, you must choose a name
|
|
-(such as \f(CW/etc/rsyncd.secrets\fP). The file must normally not be readable
|
|
+(such as \f(CW${SYSCONFDIR}/rsyncd.secrets\fP). The file must normally not be readable
|
|
by \(dq\&other\(dq\&; see \(dq\&strict modes\(dq\&.
|
|
.IP
|
|
.IP "\fBstrict modes\fP"
|
|
@@ -764,8 +762,8 @@ A more sophisticated example would be:
|
|
.PP
|
|
.nf
|
|
|
|
-uid = nobody
|
|
-gid = nobody
|
|
+uid = _rsync
|
|
+gid = _rsync
|
|
use chroot = yes
|
|
max connections = 4
|
|
syslog facility = local5
|
|
@@ -791,12 +789,12 @@ pid file = /var/run/rsyncd.pid
|
|
path = /data/cvs
|
|
comment = CVS repository (requires authentication)
|
|
auth users = tridge, susan
|
|
- secrets file = /etc/rsyncd.secrets
|
|
+ secrets file = ${SYSCONFDIR}/rsyncd.secrets
|
|
|
|
.fi
|
|
|
|
.PP
|
|
-The /etc/rsyncd.secrets file would look something like this:
|
|
+The ${SYSCONFDIR}/rsyncd.secrets file would look something like this:
|
|
.PP
|
|
.RS
|
|
\f(CWtridge:mypass\fP
|
|
@@ -809,7 +807,7 @@ The /etc/rsyncd.secrets file would look something like
|
|
.SH "FILES"
|
|
|
|
.PP
|
|
-/etc/rsyncd.conf or rsyncd.conf
|
|
+${SYSCONFDIR}/rsyncd.conf or rsyncd.conf
|
|
.PP
|
|
.SH "SEE ALSO"
|
|
|