centos6.5Ôõô½øÈëroot
½øÈë centos 6.5 root Óû§µÄÒªÁ죺ʹÓà sudo ÏÂÁîÒÔͨË×Óû§Éí·ÝµÇ¼£¬ÊäÈë sudo su ²¢Ìṩ root ÃÜÂë¡£ÖØÆôϵͳ½øÈëµ¥Óû§Ä£Ê½£¬ÔÚ grub ²Ëµ¥Öбà¼ÄÚºËÏÂÁîÐÐΪ rw init=/sysroot/bin/sh£¬È»ºó¹ÒÔظùÎļþϵͳ²¢ÊäÈë root ÃÜÂë¡£
ÔõÑù½øÈë CentOS 6.5 µÄ Root Óû§
½øÈë CentOS 6.5 µÄ Root Óû§ÓÐÒÔÏÂÁ½ÖÖÒªÁ죺
ÒªÁì 1£ºÊ¹Óà sudo ÏÂÁî
ÒÔͨË×Óû§Éí·ÝµÇ¼ϵͳ¡£
ÊäÈëÒÔÏÂÏÂÁsudo su
ϵͳ½«ÌáÐÑÄúÊäÈë Root Óû§µÄÃÜÂë¡£ÊäÈëÃÜÂë²¢°´ Enter ¼ü¡£
ÄúÏÖÔÚÒÑÇл»µ½ Root Óû§¡£
ÒªÁì 2£ºÊ¹Óõ¥Óû§Ä£Ê½
ÖØÐÂÆô¶¯ÏµÍ³¡£
ÔÚÖ¸µ¼Àú³ÌÖУ¬µ±·ºÆð GRUB ²Ëµ¥Ê±£¬°´ “e” ¼ü±à¼ÄÚºËÏÂÁîÐС£
ÔÚ linux16 ÐÐÖУ¬ÕÒµ½ “ro” Ñ¡Ïî²¢½«Æä¸ü¸ÄΪ “rw init=/sysroot/bin/sh”¡£
°´ Ctrl + x Æô¶¯ÏµÍ³¡£
ÄúÏÖÔÚ½«½øÈëµ¥Óû§Ä£Ê½¡£
ÊäÈëÒÔÏÂÏÂÁmount -o remount,rw /
ϵͳ½«ÌáÐÑÄúÊäÈë Root Óû§µÄÃÜÂë¡£ÊäÈëÃÜÂë²¢°´ Enter ¼ü¡£
ÄúÏÖÔÚÒÑÇл»µ½ Root Óû§¡£
ÒÔÉϾÍÊÇcentos6.5Ôõô½øÈërootµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡