Is there any way to recover my sudo power?

1

I created a new user and changed the ssh config. I forgot to add root permission to the newly created user.

Now I need to undo my changes in ssh config. Is that possible without any sudo command?

user150563

Posted 2012-08-24T08:43:28.017

Reputation: 139

Yes, by logging in as root. – Daniel Beck – 2012-08-24T08:54:41.537

Answers

1

If you have acess to the 'su' command, you can change to the root user without sudo permissions if you know the password of the root user. Use it like su root.

miho

Posted 2012-08-24T08:43:28.017

Reputation: 133