This is the hard way to learn when you MUST use visudo. That's right. I did something stupid like:
and now have:
Quote:
$ sudo
>>> /etc/sudoers: syntax error near line 79 <<<
sudo: parse error in /etc/sudoers near line 79
sudo: no valid sudoers sources found, quitting
|
So what if I have locked the root account (passwd -l root) and now I can't do
su to fix sudoers file???