Hi,

On Fri, 24.07.2009 at 15:09:23 +0200, Toni Mueller <[email protected]> 
wrote:
> I have a perl script that should work as follows:
> * check some parameters
> * drop privileges ( $> = ...; $) = ...;)

it turned out that 'top' displayed the "real userid" which I didn't
set, while 'ps' displayed the effective userid, which I set like above.

This prompts more questions:

Why is the "real userid" inherited when using 'fork' while being
switched to a different user?


-- 
Kind regards,
--Toni++

Reply via email to