|
发表于 2005-10-3 19:47:16
|
显示全部楼层
官方的方法:
So, you forgot the administrative password on you machine and you can't login. Here is how to use the Ubuntu Live to recover from this and other problems with your system:
1.
Boot the Ubuntu Live CD.
2.
Press Ctrl-Alt-F1
3.
sudo su -
4.
mount /dev/hda1 /mnt
5.
chroot /mnt
You can now use the passwd command to reset a password, or make any other changes you need to make to fix your broken system.
Note: In the mount command, /dev/hda1 will need to be replaced with the partition where the root of the file system resides. |
|