Difference between revisions of "Lost Password"

From FreekiWiki
Jump to navigation Jump to search
(more general instructions)
Line 13: Line 13:
 
#"passwd"
 
#"passwd"
 
#change password
 
#change password
 +
#"sync"
 
#reboot
 
#reboot
  
 
Alternatively one can boot the box using a knoppix cd, a rescue floppy, or a Toms Root Boot disk, then login as root and proceed as above.
 
Alternatively one can boot the box using a knoppix cd, a rescue floppy, or a Toms Root Boot disk, then login as root and proceed as above.
 +
#"mount /dev/hda3 /mnt"
 +
#"chroot /mnt"
 +
#"passwd"
 +
#change password
 +
#"sync"
 +
#reboot
 +
  
 
The procedure can be used for distributions other than the freekbox2 or 3, but you first need to determine the name of the root partition for the mount command.
 
The procedure can be used for distributions other than the freekbox2 or 3, but you first need to determine the name of the root partition for the mount command.
 +
 +
[[Category:Tech support]]

Revision as of 11:09, 25 August 2005

Lost Root Password

These instructions apply to the FreekBox, either version 2 or 3

  1. Ask the adopter to bring the box in.
  2. Put the box on the network in the tech support office or build.
  3. boot to grub
  4. lessdisks boot options.
  5. boot to lessdisks.
  6. login as root.
  7. "mount /dev/hda3 /mnt"
  8. "chroot /mnt"
  9. "passwd"
  10. change password
  11. "sync"
  12. reboot

Alternatively one can boot the box using a knoppix cd, a rescue floppy, or a Toms Root Boot disk, then login as root and proceed as above.

  1. "mount /dev/hda3 /mnt"
  2. "chroot /mnt"
  3. "passwd"
  4. change password
  5. "sync"
  6. reboot


The procedure can be used for distributions other than the freekbox2 or 3, but you first need to determine the name of the root partition for the mount command.