Blog

Solved: sudo: parse error in /etc/sudoers near line

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

Leave a Reply

Your email address will not be published. Required fields are marked *

πŸš€ Let’s Connect on LinkedIn! πŸš€

Want to level up your skills and knowledge? πŸš€
Follow us on LinkedIn to get:
βœ… Expert insights on business growth
βœ… Daily tips to sharpen your skills
βœ… Exclusive updates from The Coach SMB

Let's grow together!