Accidentally removed myself from sudoers list - how to fix?
I have accidentally removed myself from the sudoers list on my Centos 6 droplet. Root login is disabled, and I can still log in as myself (using putty and SSH), but cannot edit the sudoers file. Any ideas on how to fix this?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×