Use the new NOBODY_USER and NOBODY_GROUP configure defines.

This commit is contained in:
Wayne Davison committed 2005-06-10 16:50:09 +00:00
1 parent 58418cb0c4
commit b4fc3987f2
1 file changed
+2 -11
+2 -11
View File
@@ -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 */