Bugzilla – Bug 181
Match checksums of programs
Last modified: 2013-06-16 06:34:30 MDT
Allow Cmnd_Alias definitions to specify a checksum for the binary name (the name would be more for sudo -l at that point). Then when sudo is invoked it will check the checksum of the program it is being asked to run, and compare with what is in sudoers. This is more useful when wanting to do exclusions. Such as ALL, !/bin/su which is advisory only. You might be able to do something like: Cmnd_Alias EVERYTHING_NOSU = ALL, !<md5sumhere>/bin/su
Sudo 1.8.7 includes sha2 checksum support.