effective vs. real user ID

Todd C. Miller Todd.Miller at courtesan.com
Thu Jan 2 13:01:43 EST 2003


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().

 - todd


More information about the sudo-users mailing list