centos7Ôõô½øÈërootÓû§
¿ÉÒÔͨ¹ýÒÔÏ·½·¨½øÈë centos 7 µÄ root Óû§£ºÍ¨¹ýÏÂÁîÐУºÊ¹Óà sudo su ÏÂÁî²¢ÊäÈëÄúµÄ sudo ÃÜÂ롣ͨ¹ýͼÐνçÃ棺ÔÚ¡°Ô˶¯¡±²Ëµ¥µÄËÑË÷À¸ÖÐÊäÈë¡°Öնˡ±£¬ÓÒ¼üµ¥»÷¡°Öնˡ±²¢Ñ¡Ôñ¡°ÒÔ root Éí·ÝÔËÐС±£¬È»ºóÊäÈëÄúµÄ root ÃÜÂë¡£
ÔõÑù½øÈë CentOS 7 µÄ root Óû§
Òª½øÈë CentOS 7 µÄ root Óû§£¬Äú¿ÉÒÔͨ¹ýÒÔÏ°취£º
ͨ¹ýÏÂÁîÐÐ Terminal
·¿ª Terminal ´°¿Ú¡£
ÊäÈëÒÔÏÂÏÂÁî²¢°´ Enter ¼ü£ºsudo su
ÊäÈëÄúµÄ sudo ÃÜÂë²¢°´ Enter ¼ü¡£
ͨ¹ýͼÐνçÃæ
µã»÷ÆÁÄ»×óÉϽǵġ°Ô˶¯¡±²Ëµ¥¡£
ÔÚËÑË÷À¸ÖУ¬ÊäÈë¡°Öնˡ±¡£
ÔÚËÑË÷Ч¹ûÖУ¬ÓÒ¼üµ¥»÷¡°Öնˡ±²¢Ñ¡Ôñ¡°ÒÔ root Éí·ÝÔËÐС±¡£
ÊäÈëÄúµÄ root ÃÜÂë²¢°´ Enter ¼ü¡£
×¢ÖØ£º
ÈôÊÇÄúÉÐδÉèÖà root ÃÜÂ룬ÔòÐèÒªÏÈʹÓÃÒÔÏÂÏÂÁîÉèÖÃÃÜÂ룺sudo passwd root
ÔÚÖ´ÐÐÈκÎÖÎÀíʹÃü֮ǰ£¬Ç¿ÁÒ½¨ÒéÏÈʹÓà sudo ÏÂÁî¡£ÕâÑù¿ÉÒÔ±ÜÃâÒÔ root Éí·ÝÓÀÊÀµÇ¼£¬´Ó¶ø½µµÍÇ徲Σº¦¡£
ÌáÐÑ£º
ÒªÍ˳ö root Óû§£¬ÇëÊäÈë exit ÏÂÁî¡£
ÈôÊÇÄúÔÚÇл»µ½ root Óû§Ê±Óöµ½ÎÊÌ⣬Çë¼ì²éÄúÊÇ·ñ¾ßÓÐ sudo ȨÏÞ»ò root ÃÜÂëÊÇ·ñ׼ȷ¡£
ÒÔÉϾÍÊÇcentos7Ôõô½øÈërootÓû§µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡