Problem:-
sudo: parse error in /etc/sudoers near line 118
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
S0lution:-Β
You can use the below command again. The old user having wrong info will be updated with below.
echo ‘YOUR_USERNAME ALL=(ALL) ALL’ >> /etc/sudoers