At the bootloader, boot into single user mode. You may have to pass init=/bin/bash as well as single in order to bypass the password.
At the prompt:
passwd
thomasina
2016-10-06 13:41:01 UTC
The worry-loose proposal on the returned of it is to boot from the LiveCD, chroot into your technique, and run the passwd utility to distinction the beginning password. on account which you're 'interior of' the Gentoo environment on your tough rigidity, your password on your tough rigidity may be the single that is up as much as now.
Jockey
2013-12-18 23:30:16 UTC
This post here answers this same question and tells you 4 methods. The last one is the lengthiest and most difficult but is a sureshot - it always works (except when you have your root (/) partition encrypted).
You can go through the blog too. ( http://www.c-integration.com/blog/index.php )
Thomas
2009-07-10 16:49:46 UTC
System, Administrator, Users and groups. Click root, then activate, then click root again, click preferences, and change the password.
anonymous
2009-07-10 05:17:39 UTC
you need to log in as root to change the root password, there's no way around it.
If there were every cracker in the world would have a field day.
Your only option is to reinstall the operating system from scratch.
Digital Lynx
2009-07-10 06:26:50 UTC
Boot into the system at the physical console. Go into single user mode (check the documentation for your distro).
Make your way to the command prompt. Again consult the specifics for your distro.
Once there you should be able to run "passwd root" or similar to reset the password.
The physical console it ultimate power.
NOTE:
Some distros do not have a root account per se (Ubuntu comes to mind). Regular accounts are put in a super user list that are allowed to "su" or "sudo". In this case the password in question is the password of the account you are already logged in to. If you are allowed to "go super" you will temporarily assume "root" powers.
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.