View Single Post

   
  #4 (permalink)  
Old 02-20-2008, 05:24 PM
paul wisehart
 
Posts: n/a
Default Re: Password problem

Marv Soloff wrote:
> afternoon. Any ideas on how go get into the system? Rebooting with the
> install disk and using "passwd" does not work.


Boot from an install cdrom,( or any linux bootable cd)
mount the partition that has /etc/shadow.
Delete the hashed password entry for root.
(Not the whole line, just the part thats represents the password.)

Now when you reboot, root has a blank password.

note: You should really only do that if you just forgot
your password, not if you got cracked.

--
paul w.
Reply With Quote