> > I'm not sure if this is a configuration problem or a bug, but running
> > v2.5.4subver1.413, elogd runs as user ROOT (UID0) even though the following
> > is in the elogd.cfd file:
> >
> > Usr = nobody
> > Grp = essadm
> >
> > All other directives added to the cfg file work, so I know eLog is reading
> > the cfg file.
> >
> > The elogd binary *is not* setuid 0.
>
> I could not reproduce your problem with the current version (Revision 1.460)
> under Linux. I guess you made sure that user "nobody" and group "essadm" exist.
> Try to run elogd interactively, if you see any error message (without "-D"
> flag). In the most recent version (1.460), I added some more debugging code
> which tells you if elogd successfully fell back to another user, if you use the
> "-v" (verbose) flag.
>
> If all that does not help, I guess it's some peculiarity of Solaris. Maybe
> someone else using Solaris has some idea. All elogd does is a call to
>
> setuser("<user>");
>
> I see no reason why this should not work on Solaris.
Ok, just checking. I will fiddle around with running it interactively and see what
I get, plus I'll have a look at the setuser function under Solaris.
Just for grins, what version of compiler are you using under Linux?
Thanks again! |