set no password in a fedora user

Bret Hughes bhughes at elevating.com
Tue Dec 9 15:06:31 UTC 2003


On Tue, 2003-12-09 at 07:32, Tarjei Knapstad wrote:

> Editing /etc/passwd directly is certainly not to recommend, but there's
> no need to reinstall because you lost your root password. Just boot the
> bootdisks you created, and set a new root password.
> 
> And if you didn't create a bootdisk you can grab tomsrtbt:
> http://www.toms.net/rb/
> 
> Or any other linux rescue disk/bootdisk for that matter...

You don't even have to do that.  boot into single user mode (add 1 to
the end of the kernel line at boot and you are at a command prompt as
root.

Something to keep in mind regarding physical security of a box.  Any one
can get root with physical access to the box.  bios and bootloader
passwords help but all bets are off if the box can be opened.

Bret
Bret





More information about the fedora-list mailing list