I have just updated the software, which included replacing the sudoers file. Having noted the line in the file for myself, I expected to be able to edit it and put myself back.
I was wrong - it removed my
sudo permissions, so I locked myself out.
How can I fix this problem?
I do have terminal access.