In <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Jamie) mentions:
A little more detail, if anyone can spot whats wrong:
in privs.h:
I added a check on the return value of setreuid:
#define PRIV_START {\
if(setreuid(real_uid, effective_uid)) { perr("setreuid" ); } \
if(setregid(real_gid, effective_gid)) { perr("setregid" ); }
This reports "operation not permitted"
HOWEVER the same macro, called earlier does work. (has to, previous
calls of "whoami" reported "root")
What would have to happen to make it not work when it worked before?
Other setid utilities, like 'su' are working fine.
Sorry if these are lame questions, it's probably staring me straight in the
face.
Jamie
--
http://www.geniegate.com Custom web programming
[EMAIL PROTECTED] (rot13) User Management Solutions