effective vs. real user ID

William R Ward bill at wards.net
Thu Jan 2 15:58:07 EST 2003


Todd C. Miller writes:
>So if I understand you correctly, you want sudo to look up the
>effective uid in the passwd file instead of the real uid when
>determining who is running it?  There's no configuration knob to
>do that but all you should need to do is to edit sudo.c and change
>the 3 occurrences of getuid() to geteuid().

Any chance such a knob could be added in a future version?

-- 
William R Ward            bill at wards.net          http://www.wards.net/~bill/
-----------------------------------------------------------------------------
        Consistency is not really a human trait.
                         --Maude (from the film "Harold & Maude")


More information about the sudo-users mailing list