I was/am trying to run terminal commands without having to use sudo first and must have broke the file. Now I'm trying to fix it and it's giving me this error when I try to edit with the same sudo visudo
command.
/etc/sudoers: syntax error near line 62 <<< sudo: parse error in /etc/sudoers near line 62 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin
I'm on a Mac using Terminal
Is there a way to edit this file and remove what I added or reset it without harming or removing other files?