Hi guys
I feel like a total idiot but I had the bright idea of changing the default root password and now I can't remember it.
Is there a way to reset this somehow? I've had a look online but all the references I have found so far involve using the boot loader. Without visual access to the boot process I'm not sure how this could be possible with the B3. Are there any other options? I'm hoping I might be able to use my rescue/re-install USB drive some how?
I would prefer not to have to re-install.
Thanks
Jeff
Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
Forgot my root password
Re: Forgot my root password
If you can get an install image onto a USB, you can alter the config files to turn it into a rescue-USB (this is explained in the wiki). From there, use chroot to move your environment to the original disk. Then you can use passwd to change the passwd for root
It's a bit like these solutions:
https://www.google.nl/search?q=reset+ro ... ng+live+cd
It's a bit like these solutions:
https://www.google.nl/search?q=reset+ro ... ng+live+cd
Re: Forgot my root password
Have you got sudo installed and configured for your normal user?
If so, you can just:
If so, you can just:
Code: Select all
$ sudo su
# passwd
Re: Forgot my root password
Thanks guys
Ubi your instructions were spot on, I have reset my password.
Cheeseboy, I've installed sudo just in case it happens again
Cheers
Jeff
Ubi your instructions were spot on, I have reset my password.
Cheeseboy, I've installed sudo just in case it happens again
Cheers
Jeff