mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-21 13:24:15 -04:00
Use the new NOBODY_USER and NOBODY_GROUP configure defines.
This commit is contained in:
1 parent
58418cb0c4
commit
b4fc3987f2
1 file changed
+2
-11
+2
-11
@@ -160,17 +160,8 @@ static service sDefault =
|
||||
True, /* use chroot */
|
||||
False, /* transfer logging */
|
||||
False, /* ignore errors */
|
||||
"nobody",/* uid */
|
||||
|
||||
/* TODO: This causes problems on Debian, where it is called
|
||||
* "nogroup". Debian patch this in their version of the
|
||||
* package, but it would be nice to be consistent. Possibly
|
||||
* other systems are different again.
|
||||
*
|
||||
* What is the best behaviour? Perhaps always using (gid_t)
|
||||
* -2? */
|
||||
"nobody",/* gid */
|
||||
|
||||
NOBODY_USER,/* uid */
|
||||
NOBODY_GROUP,/* gid */
|
||||
NULL, /* hosts allow */
|
||||
NULL, /* hosts deny */
|
||||
NULL, /* auth users */
|
||||
|
||||
Reference in new issue
Block a user