When I edited my sudoers file & saved it on my Raspberry Pi, it's giving me:
sudo: parse error in /etc/sudoers near line 26 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin on raspberry pi
I am trying to avoid sudo permissions for a bash which is trying to access a root file.
I also tried
pkexec, like a general Linux solution, but it's giving
-bash: pkexec: command not found
Now this error is showing everywhere I go using sudo.
Is there any solution for this?