[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HOWTO recover a lost root password (WHILE logged in)??

On Wed, 19 Feb 2003, Elton Woo wrote:

> On February 19, 2003 07:25 pm, seth vidal wrote:
> > > All other options I can think of involve a lot of processing power and a
> > > lot of time.
> >
> > If that's an md5 root password make that "A whole lot" of time.
> Let me rephrase my question: I've *forgotten* my root password.
> HOW can I change it _WHILE STILL_ logged into my user account?

There is no easy way!! Bite the bullet reboot the machine, and at the 
grub prompt hit e to edit the entry for the kernel you want to boot
add the word single to the end of the line and then boot the machine.
It will come up in single user mode. Change the passwd with the passwd
command to whatever you want it to be, switch back to multi user mode
and you are done. 

Yes, it is that simple. No boot disks necessary!!


.............Tom	"Nothing would please me more than being able to 
tdiehl@rogueind.com	hire ten programmers and deluge the hobby market 
			with good software." -- Bill Gates 1976

   			We are still waiting ....

Phoebe-list mailing list

[Home]     [Kernel List]     [Red Hat Install]     [Red Hat Watch List]     [DVD Store]     [Red Hat Development]     [Gimp]     [Yosemite News]

Powered by Linux