diff --git a/ChangeLog b/ChangeLog index 23000de55..f3498d32b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,7 +3,8 @@ * Source/NSDate.m: GSTimeNow() remove volatile typespec and move initialisation of interval in the hope of fixing a problem with float operations. In any case, the code is tidier. - * Tools/gdomap.c: If started as root, try to become user nobody. + * Tools/gdomap.c: If started as root, try to become user nobody + before resorting to uid -2 (like NFS). 2001-05-03 Adam Fedor diff --git a/Tools/gdomap.c b/Tools/gdomap.c index f8645e55c..e989fff24 100644 --- a/Tools/gdomap.c +++ b/Tools/gdomap.c @@ -4229,7 +4229,7 @@ printf( } else { - int uid = -1; + int uid = -2; #ifdef HAVE_PWD #ifdef HAVE_GETPWNAM struct passwd *pw = getpwnam("nobody");