On 2001.06.25, Michael C. Urban <[EMAIL PROTECTED]> wrote:
> The first is a persmissions problem having to do with not being able
> to write to the logs unless they are owned by the user "nobody" who I
> am trying to run the server as. This doesn't seem correct that the
> logs should have to be owned by "nobody".
The logs are opened after permissions are dropped. Therefore,
the logs must be owned by the non-privileged user that the nsd
process will run as. That's why, in your case, the logs must
be at least writable by user "nobody" or group "nobody".
> The second is that the server segfaults and dies when I try to run in
> on port 80, but it will run on port 8000. This seems to be a problem
> related to not running it as root, but I am starting it as root using
> the procedure given. Here is the exact command line I am using to
> start the server after having done an "su" to root:
>
> ./nsd8x -f -t ../sample-config.tcl -u nobody -g nobody
Are you sure such a group "nobody" exists? Isn't the
generic "no permissions" group called "nogroup"?
What does "grep no /etc/group" yield? Do you have a
"nobody" group?
- Dossy
--
Dossy Shiobara mail: [EMAIL PROTECTED]
Panoptic Computer Network web: http://www.panoptic.com/