etc/sudoers.d: too many levels of includes-no valid sudoers source-error initializing audit plugin
Asked by
Greg Smith
I upgraded to version 22 over the internet. My sudoers file in /etc apparently has one too many lines of includes at the end of the file. Stupidly, I copied this file (sudoers) into /etc/sudoers.d. Hoping to edit the erroneous line, I now find myself locked out of sudo altogether. I get this:
sudo: etc/sudoers.d: too many levels of includes
sudo: no valid sudoers sources found
sudo: error initializing audit plugin sudoers_audit
Can you please explain how I must access and edit the sudoers file correctly?
Thanks.....
Greg
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- actionparsnip
- Solved:
- Last query:
- Last reply:
To post a message you must log in.