32 lines
1.6 KiB
Text
32 lines
1.6 KiB
Text
Index: rsyncd.conf.5.md
|
|
--- rsyncd.conf.5.md.orig
|
|
+++ rsyncd.conf.5.md
|
|
@@ -502,7 +502,7 @@ the values of parameters. See the GLOBAL PARAMETERS s
|
|
and from that module should take place as when the daemon was run as root.
|
|
In combination with the "[gid](#)" parameter this determines what file
|
|
permissions are available. The default when run by a super-user is to
|
|
- switch to the system's "nobody" user. The default for a non-super-user is
|
|
+ switch to the system's "_rsync" user. The default for a non-super-user is
|
|
to not try to change the user. See also the "[gid](#)" parameter.
|
|
|
|
The RSYNC_USER_NAME environment variable may be used to request that rsync
|
|
@@ -520,7 +520,7 @@ the values of parameters. See the GLOBAL PARAMETERS s
|
|
extra ones be set as supplemental groups. You may also specify a "`*`" as
|
|
the first gid in the list, which will be replaced by all the normal groups
|
|
for the transfer's user (see "[uid](#)"). The default when run by a super-user
|
|
- is to switch to your OS's "nobody" (or perhaps "nogroup") group with no
|
|
+ is to switch to the "_rsync" group with no
|
|
other supplementary groups. The default for a non-super-user is to not
|
|
change any group attributes (and indeed, your OS may not allow a
|
|
non-super-user to try to change their group settings).
|
|
@@ -1198,8 +1198,8 @@ A simple rsyncd.conf file that allow anonymous rsync t
|
|
A more sophisticated example would be:
|
|
|
|
> ```
|
|
-> uid = nobody
|
|
-> gid = nobody
|
|
+> uid = _rsync
|
|
+> gid = _rsync
|
|
> use chroot = yes
|
|
> max connections = 4
|
|
> syslog facility = local5
|