/etc/sudoers file is somehow corrupted and all the users who have sudo privileges are unable to execute ANY command with sudo prefix to the command !
sudo: parse error in /etc/sudoers.d/README near line 1 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin
I have tried almost all the solutions suggested in previous similar questions like
- rebooted the system many times
- Tried to modify the file
/etc/sudoers.d/READMEbut was unable to do so.
- In recovery mode, mounted the file system with
rwand tried to modify the mentioned file but was unsuccessful
pkexec bash..... still no use
The file line in
/etc/sudoers.d/README is infact an empty line.
Can you please guide me !