[sudo-commits] sudo changeset 7742:d4772d7d2fc5
Todd C. Miller
Todd.Miller at courtesan.com
Mon Feb 6 13:33:54 EST 2012
changeset: 7742:d4772d7d2fc5 in /home/hg/sudo
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Mon Feb 06 13:33:46 2012 -0500
Set real uid to root before calling sudo_edit() or run_command()
so that the monitor process is owned by root and not by the user.
Otherwise, on AIX at least, the monitor process shows up in ps as
belonging to the user (and can be killed by the user).
src/sudo.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
More information about the sudo-commits