Check sudoers file

Messing up a sudoers file on one box is no big deal.

In a managed environment, say if Puppet is pushing out a central sudoers file, getting it wrong could break a lot of things for a lot of people. Good advice is to check it before pushing it out. One method is:

visudo -cf /etc/sudoers

It’ll sanity check whatever file you specify. Better safe than sorry.