I updated my installation a couple of days ago, and forgot to plug in my laptop while the updates were being installed. Newb mistake turned into a hassle, but following this post ([HowTo] Rescue your system...) allowed me to access my desktop installation again.
Now when I attempt to use
sudo, I get the following error:
sudo: /etc/sudoers is not a regular file sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin
Sure enough, my
/etc/sudoers file is actually a directory with the following structure:
/etc/sudoers/ ├── fapi-config.json └── fapi-profiles ├── P_ECCP256SHA256.json └── P_RSA2048SHA256.json 1 directory, 3 files
As one might imaging, this is making things very difficult to troubleshoot. What are the files in my new sudoers directory, and can I get rid of them? Is there a base
sudoers file that I can put back into the proper location with the root user?
Hope you're all doing well, and any advise is appreciated.