r/Ubuntu • u/Cancerverous • 18h ago
How can we regain admin access to our Ubuntu VPS after the previous admin left?
So, a coworker just got fired that managed an Ubuntu VPS but he didn't leave any passwords for the next person (me) to manage or do anything. The only thing I can do is access the VPS through ssh on his computer (user password doesn't have to be written to access). I need to access some files that belong to root, so I need to recover the root password, so I can access these files and manage the VPS.
I've also already tried texting him to ask if he remembers, but supposedly he "vibecoded" the VPS and used Codex to create the users, so he doesn't know the passwords.
Any help or recommendations would be very appreciated