]> granicus.if.org Git - sudo/commit
Don't prompt for a password if the user is in the exempt group, is
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 23 May 2012 19:37:24 +0000 (15:37 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 23 May 2012 19:37:24 +0000 (15:37 -0400)
commit26f39852b2f90d7dadd1cf8ae4887eaf31d95dee
tree555626fea81d7c6bb8f79b4102f9ae9e102f0dcb
parent94dadc4ed8184372b4806db11f3b0e9c84629f0b
Don't prompt for a password if the user is in the exempt group, is
root, or is running the command as themselves even if the -k option
was specified.  This makes "sudo -k command" consistent with the
behavior one would get if the user ran "sudo -k" immediately before
running the command.

--HG--
branch : 1.7
check.c
testsudoers.c