On Wed, Dec 11, 2002 at 11:07:11AM +0900, Oohara Yuuma wrote:

> The problem is that there is fakeroot. getuid() == 0 or
> geteuid() == 0 is not enough.  PAM is an overkill.
> I think seteuid(0) == 0 is the best approach.

fakeroot (or any other dynamic linker tricks) will not work on set[ug]id
programs.  libc can be trusted here.

-- 
 - mdz


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to