SOURCE:
http://linuxinw.blogspot.com/2009/11/slackware-root-password-reset.html
- boot from Live cd look like new installation.
- mount to root partition "/" if not sure try what device.
#fdisk -l
#mount /dev/sda1 /mnt
- Now edit /etc/shadow it the best way to backup this file first.
#vi /mnt/etc/shadow
root:[set to blank]:14550:0:99999:7:::
and save by :wq
- take off you cd and reboot
- when login prompt type username as root and blank password.
- change root password with
#passwd
No comments:
Post a Comment