Re: unable to attach to setuid program that as reverted it privilege

Michael Potter
2008-04-14T13:43:01Z

On Mon, Apr 14, 2008 at 8:32 AM, Reynolds, Brandon
<brandon.reynolds@lmco.com> wrote:
>
>
> What did you mean by "_permanently_"?
>

I used setuid(non_root_user) while the effective user is root. This
sets real, effective, and saved userids so that there is no returning
to root.

I confirm that in my code by doing a setuid(root) and hoping that it fails.

--
Michael Potter