[svlug] Fix to locking oneself out of /etc/sudoers with Ubuntu 14.04

Sarah Newman newmans at sonic.net
Sat Jan 17 17:26:53 PST 2015

On 01/17/2015 03:38 PM, Jesse Monroy wrote:
> Here is how to fix that mess for Ubuntu 14.04
> $ vi /etc/sudoers

You will be much happier using visudo. If you are editing a file in /etc/sudoers.d use visudo -f.

vigr and vipw are the equivalent for /etc/groups and /etc/passwd, though usermod and groupmod are
even better than editing those files directly.

Regards, Sarah

More information about the svlug mailing list