|
When you reboot, are you given a choice of versions to boot from? What I am looking for here is single user mode. If you can choose to boot into Single User mode, it logs you in as root without requiring a password. Then use the <passwd> command from a command line to change the root password to something you can either remember or remember to write down and store in a safe place. :-)
If you can't boot into single user mode, you can use a liveCD to perform these steps:
# copied from google search begins...
You can boot using a LiveCD, then via a root terminal, you can chroot into your system after mounting it:
sudo su
mkdir /mnt/hd
mount /dev/hda2 -t ext3 /mnt/hd
chroot /mnt/hd
passwd
Once you've filled in your password, it's done. Your root password is changed.
# copied from google search ends
Either way you go about it, PLEASE PLEASE PLEASE choose a nice strong password (7+ characters, Upper and lowercase letters, numbers, and symbols (#,%,@, etc.)) and keep it in a safe place. If you use weak passwords, you will be taken advantage of, especially if your machine is online often.
HTH
Dave
|