-4

I can't remember what command I ran that did this but I can't seem to do anything because of this error. Is there way to reverse it?enter image description here

1 Answers1

0

What I can understand from the image you have attached is that:

  1. Your sudoers file's permissions are not correct.

To fix that you can try the following:

su root                            # login to root, if you are not already logged in as root
chmod 644 /usr/lib/sudo/sudoers.so # this make it only writable by the owner
chown -R root /usr/lib/sudo        # to set the owner as root

In case if you're having trouble with su root try pkexec su

I'm a new contributor, so I'm sorry if my answers are not good enough.