Wednesday, March 11, 2009

What Does 2 On Pokemon Cardsmean

MySQL database Recover password of root


can recover password root in different ways. The following explains some of them.

Option 1 - Start with a livecd. Knoppix is \u200b\u200ba good choice
- Mount the partition where the system is installed:

# mount-o rw / dev/sda1 / mnt/sda1 - Edit the file "/ etc / shadow" of the mounted partition and delete the second field of the line of the root. Would be something like: root
:: xxxxx: 0: xxxxx: x:::
- Restart and boot with debian - Login as root (no password prompt) - Assign new password: # passwd root



Option 2 - Start with a livecd. Knoppix is \u200b\u200ba good choice - Mount the partition where the system is installed:
# mount-o rw / dev/sda1 / mnt/sda1 - Make a chroot to the partition:
# chroot / mnt/sda1
- Assign new password to root: # passwd root


0 comments:

Post a Comment