]> granicus.if.org Git - sudo/commit
Run most of the code as root, not the invoking user. It doesn't really
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 20 Aug 1999 20:37:16 +0000 (20:37 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 20 Aug 1999 20:37:16 +0000 (20:37 +0000)
commit275c2fc980d8ddd851867d2ad126bb5e2b73879f
treeadc8961177e77f134648698ac209c42a24bb4d4f
parentbc65b24ed398023f63c3195eeb693c4a01b76c1c
Run most of the code as root, not the invoking user.  It doesn't really
gain us anything to run as the user since an attacker can just have
an setuid(0) in their egg.  Running as root solves potential problems
wrt signalling.
auth/API
auth/sudo_auth.c
auth/sudo_auth.h
check.c
find_path.c
goodpath.c
logging.c
parse.c
sudo.c