-
- Boot from the CD and Choose Mimi Linux
- Mount your Linux partition and modify the shadow file
more /etc/passwd
root:x:0:0:root:/root:/bin/bash
means system uses shadow
find the shadow, /etc/shadow in most of cases; /etc/tcb/root/shadow on CgLinux
root:$1$XuUwuRKE$WwHI0hvsgD0T4dds2h5U5/:14565:0:99999:7:::
Remove all characters between 1st and 2nd colon. That resets root's password to blank.
- Reboot and Go to get a cup of coffee.
阅读(1249) | 评论(0) | 转发(0) |