From b4fc3987f20e6af92aeb5e0c6ff80e3a70df3e87 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 10 Jun 2005 16:50:09 +0000 Subject: [PATCH] Use the new NOBODY_USER and NOBODY_GROUP configure defines. --- loadparm.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/loadparm.c b/loadparm.c index ae8a677f..bec5bc97 100644 --- a/loadparm.c +++ b/loadparm.c @@ -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 */ -- 2.34.1