linuxϵͳÃÜÂëÒÅÍüÈçÄÇÀïÖÃ
ÈôÊÇ linux ϵͳÃÜÂëɥʧ»òÒÅÍü£¬¿ÉÒÔʹÓÃÒÔÏ°취¾ÙÐд¦Öóͷ££ºÊ¹Óà root Óû§ÖØÖÃÃÜÂ롣ʹÓà live cd/usb ¹ÒÔظù·ÖÇø²¢ÖØÖÃÃÜÂ롣ʹÓõ¥Óû§Ä£Ê½ÖØÖÃÃÜÂë¡£ÔÚijЩ¿¯ÐаæÖУ¬Ê¹Óà passwd –stdin ÏÂÁîÖØÖÃÃÜÂë¡£ÁªÏµÏµÍ³ÖÎÀíÔ±ÒÔ»ñµÃ×ÊÖú¡£
Linux ϵͳÃÜÂëÒÅÍüÈçÄÇÀïÖÃ
µ± Linux ϵͳµÄÃÜÂëɥʧ»ò±»ÒÅÍüʱ£¬¿ÉÒÔʹÓÃÒÔÏ°취¾ÙÐд¦Öóͷ££º
1. ʹÓà root Óû§µÇ¼
ÈôÊÇ¿ÉÒÔ»á¼û root Óû§£¬Ôò¿ÉÒÔʹÓôËÓû§À´ÖØÖÃÆäËûÓû§µÄÃÜÂë¡£½øÈëÏÂÁîÌáÐÑ·ûºó£¬¼üÈëÒÔÏÂÏÂÁ
sudo passwd ̞
µÇ¼ºó¸´ÖÆ
ÆäÖС°Óû§Ãû¡±ÊÇÒªÖØÖÃÃÜÂëµÄÓû§Ãû¡£
2. ʹÓà Live CD/USB
ÈôÊÇûÓÐ root Óû§»á¼ûȨÏÞ£¬¿ÉÒÔʹÓà Live CD »ò USB À´Æô¶¯ÏµÍ³¡£½øÈë Live ÇéÐκó£¬ÇëÖ´ÐÐÒÔÏ°취£º
¹ÒÔظù·ÖÇø£º
mount /dev/sda1 /mnt
µÇ¼ºó¸´ÖÆ
£¨½« /dev/sda1 Ì滻ΪÏÖʵµÄ¸ù·ÖÇø¡££©
chroot µ½¸ùĿ¼£º
chroot /mnt
µÇ¼ºó¸´ÖÆ
ÖØÖÃÃÜÂ룺
passwd ̞
µÇ¼ºó¸´ÖÆ
3. ʹÓõ¥Óû§Ä£Ê½
ÈôÊÇ Live CD/USB ²»¿ÉÓã¬Ôò¿ÉÒÔʹÓõ¥Óû§Ä£Ê½À´ÖØÖÃÃÜÂë¡£ÖØÆôϵͳ²¢°´×¡ Shift ¼ü½øÈë GRUB ²Ëµ¥¡£Ñ¡Ôñ¡°¸ß¼¶Ñ¡Ï£¬È»ºóÑ¡Ôñ¡°µ¥Óû§Ä£Ê½¡±¡£ÏµÍ³½«ÒÔ root Éí·Ý½øÈëÏÂÁîÌáÐÑ·û¡£È»ºó£¬¿ÉÒÔƾ֤°ì·¨ 1 ÖеÄÒªÁìÖØÖÃÃÜÂë¡£
4. ʹÓà passwd ÏÂÁî
ÔÚijЩ Linux ¿¯ÐаæÖУ¬¿ÉÒÔʹÓà passwd ÏÂÁîÀ´ÖØÖÃ×Ô¼ºµÄÃÜÂë¡£ÈôÊÇÆôÓô˹¦Ð§£¬Çë°´ÒÔÏ°취²Ù×÷£º
Æô¶¯ÏµÍ³²¢µÇ¼¡£
¼üÈëÒÔÏÂÏÂÁ
passwd --stdin ̞
µÇ¼ºó¸´ÖÆ
ÊäÈëÐÂÃÜÂëÁ½´ÎÒÔÈ·ÈÏ¡£
5. ÁªÏµÏµÍ³ÖÎÀíÔ±
ÈôÊÇÉÏÊöÒªÁ춼²»Æð×÷Óã¬ÇëÁªÏµÏµÍ³ÖÎÀíÔ±ÒÔ»ñÈ¡×ÊÖú¡£ËûÃÇ¿ÉÄÜÓÐȨÏÞÖØÖÃÃÜÂë¡£
ÌáÐÑ£º
ÖØÖÃÃÜÂëºó£¬½¨Òé¸ü¸Ä root Óû§µÄÃÜÂëÒÔÌá¸ßÇå¾²ÐÔ¡£
°´ÆÚ±¸·ÝÄúµÄϵͳ£¬ÒÔ·ÀδÀ´·ºÆðÎÊÌâ¡£
´æ´¢ÃÜÂëµÄ¸±±¾¡£
ÆôÓÃÁ½ÒòËØÉí·ÝÑéÖ¤ÒÔÔöÌíÇå¾²ÐÔ¡£
ÒÔÉϾÍÊÇlinuxϵͳÃÜÂëÒÅÍüÈçÄÇÀïÖõÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡