I am trying to add python to sudoers list. I opened the file /etc/sudoers.d/python once and entered some lines. After saving and exiting, I realized these were wrong. I am trying to open the file and make changes but it is not happening. I am getting error:
$ sudo visudo -f /etc/sudoers.d/python
>>> /etc/sudoers.d/python: syntax error near line 1 <<<
sudo: parse error in /etc/sudoers.d/python near line 1
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin