Root password reset not working

The root password reset for ubuntu does not work.
I followed the process by shutting down my linode and changing the password. I am still unable to login.
How can I get some help please?

5 Replies

When you say "login" I assume you mean SSH? Are you sure you don't have SSH configuration files set to deny root login? Most people do.

ssh root@11.22.33.444
root@11.22.33.444's password:xxxxx
Permission denied, please try again.

Is this what you are seeing?

Yes please. The error in image is exactly what am seeing. I get same error for non-sa user as well.

Is there any user that you can log in with?

If so, see this:

https://www.tecmint.com/disable-or-enable-ssh-root-login-and-limit-ssh-access-in-linux/

If not, I don't know how else you can get in but someone else might know of a way.

The root account might be disabled or something else might be going on.

Trying using Linode’s LISH to login.

I can never get LISH to work. I don't know why but maybe you will have better results.

Just for fun, open your terminal program and enter:

ssh -o PasswordAuthentication=yes -o PreferredAuthentications=keyboard-interactive,password -o PubkeyAuthentication=no <user>@<ip address=""> using your user and IP:</ip></user>

joe@22.33.44.555

You should be asked for your password.

See if that gets you in.

If so, my guess is that you created an RSA public key but never added it to your site… but this is just a guess. The above command overrides any pubic keys you might have and makes you use a password.

I hope it works for you.

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