I have run a script https://github.com/starlilyth/Linux-PoolManager to install it and I have run into the situation where on each sudo
command I get the prompt:
[sudo] password for root:
the /etc/sudoers
looks like this now :
-r--r----- 1 root root 823 mar 7 16:07 /etc/sudoers
And I cannot access it.
What can I do now to restore the system to normal functionality ?
EDIT
$grep sudo /etc/group
sudo:x:27:USERNAME
/etc/sudoers
is a file, not a directory. You can check it withsudo cat /etc/sudoers
and modify it withsudo visudo
/etc/sudoers
file.sudo visudo
to fix things?