sudoers: simplify, add logging, add test.pl