[PLUG] /etc/sudoers Syntax

Jim Garrison jhg at jhmg.net
Sun Sep 23 23:34:40 UTC 2012


Whatever you do, DO NOT

    sudo vi /etc/sudoers

Do instead

    sudo visudo

With the first, if you make a bad enough mistake in syntax you can
lock yourself out.  With the second, visudo will syntax-check your
changes and give you a chance to exit before committing if there's
a problem.

-- 
Jim Garrison (jhg at acm.org)
PGP Keys at http://www.jhmg.net RSA 0x04B73B7F DH 0x70738D88



More information about the PLUG mailing list