Probably a simple question for the hackers in these parts...

I have a process which runs as root and is supposed to be started by
/usr/local/etc/rc.d/script.sh.  This process looks at a queue file, and a
table and decides to setuid to some user.  No great mysteries here....

If the process is started from the command line things work fine.  If it's
started from rc.d/script.sh, "id" reports participation in only the
primary group listed in the passwd database, not any of the groups it's a
member of in /etc/group.  IE, user "dist" has a primry group of "dist",
but is also listed under "www" in /etc/group.  When started at boot,
"id" only lists "dist" as member groups.

Am I neglecting some system call, expecting something unreasonable, or
just out in left field?

Thanks:)

--- David



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to