How to fix broken sudoers file in rhel6, it's not allowing me to get into sudo
[bash ~]$ sudo su
sudo: >>> /etc/sudoers: syntax error near line 109 <<<
sudo: >>> /etc/sudoers: syntax error near line 109 <<<
sudo: parse error in /etc/sudoers near line 109
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
I cannot edit this file as the permission is not there and this is virtual machine
From the redhat docs
then with root access you can fix the sudoers file