What to Do If You Forget Your Ubuntu Password on an Old Machine?

0
0
Asked By TechSavvyGiraffe42 On

I'm trying to help a family member with their old Ubuntu Linux machine that they can't access because they forgot the password. They're okay with wiping the machine completely, but I'm wondering if there's a way to install Windows 10 directly without needing the password. What's the best approach here?

2 Answers

Answered By NerdyNarwhal22 On

If you can get into a chroot environment, you can reset the password without needing the original one. Just make sure you've booted from an installer USB, and you should be able to handle it easily.

TechSavvyGiraffe42 -

That sounds like a solid plan! I’ll let them know about this option if they decide to try it first.

Answered By CuriousCheetah56 On

You can actually use a USB installer for Ubuntu to access a rescue environment. From there, you can use a command to reset the password. Just boot from the USB, do a 'chroot', and run 'passwd username' to change the password, then reboot when you're done.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.