Lost Ubuntu server password!

Needed to recover the admin password in Ubuntu server 18.04.3 LTS. I can’t remember a giant random password, and my password manager’s password file became corrupt. And I didn’t have correct server password on my phone’s password file. In the past you would use the recovery option in the Grub menu to drop to root where you could change your password. Does that work today? Of course not! Now when you select the option to drop to root it asks for…drum roll please…the password. Genius! After googling I found [https://www.howtogeek.com/howto/linux/reset-your-forgotten-ubuntu-password-in-2-minutes-or-less/]…(instruction weren’t an exact match to my grub but close enough where I could accomplish it) now you edit the grub boot procedure to replace the text ‘ro maybe ubiquity’ (the 2nd to the last line) with ‘rw init=/bin/bash’

then boot…then it will drop to root where you can change your password. Of course this meant I needed to disconect video card and keyboard cables from primary computer, move server near said cables on top of my primary computer and connect to server because it’s headless. Then reverse the procedure when finished. Joy!