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.

THANK YOU THANK YOU THANK YOU!!!

:) :) :)
Awesome fast reply you are da MAN!!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct