SPUG: Understanding RUID EUID and modules (fwd)
cos at indeterminate.net
Mon May 21 10:06:37 PDT 2007
On Wed, 16 May 2007, Yitzchak Scott-Thoennes wrote:
> I suspect you reversed the order of the variables in your module.
> At least, that's the only way I can duplicate your results.
> Switching back to root seems to be allowed only if you change
> ruid first when dropping privileges and last when raising them.
I screwed up my code. Thanks for pointing that out, and my apologies for
taking up bandwidth (yours and the list's).
Thanks to all for the pointers on code to read.
More information about the spug-list