Subject: Re: weird setuid behavior
To: Niels Provos <firstname.lastname@example.org>
From: Greg A. Woods <email@example.com>
Date: 01/21/2004 02:40:39
[ On Wednesday, January 21, 2004 at 01:05:38 (-0500), Niels Provos wrote: ]
> Subject: weird setuid behavior
> I am a bit puzzled by recent changes (last year) to how setuid works.
> Traditionally, it has always been possible as root to call
> This now fails. The call to seteuid() succeeds but the the second call
> fails leaving the uid=0 and the euid=someid
What is your starting condition (euid, ruid, etc.)? Was the process
started from a set-ID binary file?
Greg A. Woods
+1 416 218-0098 VE3TCP RoboHack <firstname.lastname@example.org>
Planix, Inc. <email@example.com> Secrets of the Weird <firstname.lastname@example.org>