0

I enabled google 2 factor authentication for my server, but it started acting weirdly and I am locked out. I have access to VNC, but my password has a special symbol @ and I am unable to input that via VNC. I am locked out.
enter image description here

Sibidharan
  • 135
  • 5

1 Answers1

1

As the chat log may or may not still show, the underlying problem was that non-alphanumeric characters weren't being correctly transmitted by the VNC-based virtual console, so there was no way to type an @ character. The solution was booting the VPS off rescue media, using UpCloud's interface for booting from virtual media, and zeroing out the root password from the /etc/shadow file.

MadHatter
  • 79,770
  • 20
  • 184
  • 232