You are here
Home > Linux > User Management

Cannot open sudoers syntax error near line – SOLUTION

OK so you have some kind of junk in your sudoers file and cannot use sudo for anything Let me show you how to correct the issue 1. Open the terminal by pressing ctrl+alt+t 2. Now type in the following command to edit sudoers pkexec nano /etc/sudoers 3. Type in your password 4. Find the