BROKEN SUDO VPS
Is it possible to fix a broken sudo on my VPS via the linode website??
Do not ask me why but I edited sudo visudo and removed my USER sudo privellages now I am not in the sudoers file and cant get any access whatsoever.
Please help I dont want to have to redo my work on this.
TIA
2 Replies
You can log into your Linode, via Lish using your root user credentials. From there, you should be able to edit your sudoers file. If you are unsure of the password for your root user, you can easily reset your root password the from the Linode Manager, as well.
We've got a section about Understanding Sudo on our 'Linux Users and Groups' guide that you might also find useful.