忘記CentOS 7.0 root密碼後,更改密碼的方法如下

來源:互聯網
上載者:User

標籤:更改密碼   字母。centos7   

1、啟動畫面出來時,選擇第一項,並按下e字母鍵。如


650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/58/0C/wKiom1SozOWyVyNZAAEkYQQNwcc253.jpg" title="1.png" alt="wKiom1SozOWyVyNZAAEkYQQNwcc253.jpg" />

2、移動游標鍵,找到linux16這一行。如

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/58/09/wKioL1SozcLiA8kTAAFK13Z3VZE643.jpg" title="2.png" alt="wKioL1SozcLiA8kTAAFK13Z3VZE643.jpg" />

3、,將ro改成成為rw init=sysroot/bin/sh,並執行ctrl-x

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/58/09/wKioL1SozezhVkOsAAFOCiYLEQc621.jpg" title="3.png" alt="wKioL1SozezhVkOsAAFOCiYLEQc621.jpg" />4、執行以下命令,如

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/58/0C/wKiom1SozVSidw5KAAFU28M63TA098.jpg" title="4.png" alt="wKiom1SozVSidw5KAAFU28M63TA098.jpg" />5、最後重啟,進入系統

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/58/0C/wKiom1SozWvyf4P8AACZNxweRw8087.jpg" title="5.png" alt="wKiom1SozWvyf4P8AACZNxweRw8087.jpg" />


本文出自 “斷了的軍刀” 部落格,請務必保留此出處http://90sec.blog.51cto.com/7404127/1598939

忘記CentOS 7.0 root密碼後,更改密碼的方法如下

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.