0

I use passwordless login with SSH to access my Ubuntu 18.04 DigitalOcean droplet, on which I've disabled root login, using a sudo-enabled account. I do not have a login password/sudo password. My password setting is ALL=(ALL) NOPASSWD: ALL, so that I never have to enter one.

However, I tried logging in to my droplet today and it told me my non-existent password is expired. It wants the current password to change the password. But...I don't have a current password.

As I said, the root login is disabled, so I have no other way in. I assume I'm screwed, unless you know of a way I can remotely login bypassing the expired password check.

The only other thing I can think of is if I can restore a backup of the server but backdate it during restoration by 30 days or whatever, so that it thinks my password is still valid. Is it possible to do that, even if it means only a higher level of support has to do it for me?

selfagency
  • 211
  • 2
  • 6

0 Answers0