I built C code in raspberry pi. When I'm trying to run program I get message:
/etc/sudoers: syntax error near line 27
sudo: parse error in /etc/sudoers near line 27
sudo: no valid sudoers sources found, quitting
I put cd card from raspberry pi to my Ubuntu laptop and looked at the file. This line is:
This folder (/etc/sudoers.d) contains two files: README and 010_pi-nopasswd
I tried to open them with nano and both of them contains question marks. Don't know what that mean.
I tried to google the problem and everyone writes that you need to fix sudoers with an other computer with Linux, but I could not find an explanation how exactly It can be fixed.
Help me, please!