Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   1. Download và cài đặt Centos 5 (http://quantrinet.com/forum/forumdisplay.php?f=202)
-   -   Hướng dẫn reset password CentOS 7 (how to reset password root CentOS 7)) (http://quantrinet.com/forum/showthread.php?t=10085)

hoctinhoc 09-01-2017 08:52 AM

Hướng dẫn reset password CentOS 7 (how to reset password root CentOS 7))
 
Hướng dẫn reset password CentOS 7 (how to reset password root CentOS 7)


1. Chọn Core và bấm e để edit


https://www.liberiangeek.net/wp-cont...t-password.png

2. Tìm dòng ( ro ) và thay thế bằng rw init=/sysroot/bin/sh.

https://www.liberiangeek.net/wp-cont...password-1.png


Thay thế bằng init=/sysroot/bin/sh

https://www.liberiangeek.net/wp-cont...password-2.png


3. Bấm Control + X hoặc Ctrl+X để restart lại

4. Gõ lệnh sau để có quyền ghi

chroot /sysroot


https://www.liberiangeek.net/wp-cont...password-3.png

5. Gõ lệnh passwd để thay đổi pass

https://www.liberiangeek.net/wp-cont...password-4.png



Xong,

Chúc các bạn thành công,


Bây giờ là 01:24 PM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.