Kh�i ph?c password c?a Linux khi b? qu�n. |
Post Reply |
Author | |
administrator
Admin ad Joined: 14 October 2005 Status: Offline Points: 512 |
Post Options
Thanks(0)
Posted: 21 April 2013 at 18:07 |
Kh�i ph?c password c?a Linux khi b? qu�n.
Trong windows th� t�i kho?n qu?n tr? c?a ch�ng ta l� Administrator nhung tr�n h? di?u h�nh Linux th� t�i kho?n qu?n tr? c?a m�nh l� root, nhung khi qu�n t�i kho?n root th� l�m sao ch�ng ta c� th? l?y l?i du?c., Sau d�y t�i xin hu?ng d?n c�ch g? b? password root v?i m?t password m?i. (t�i demo tr�n CentOS) Restart l?i HDH Khi boot loader menu xu?t hi?n, nh?n m?t ph�m b?t k� menu ch?n HDH s? xu?t hi?n. hinh1.jpg Nh?n ph�m �e� d? edit command boot hinh 2.jpg Th�m s? �1� v�o cu?i d�ng l?nh (nh? g� kho?ng tr?ng r?i th�m s? 1 v�o) hinh 3.jpg Nh?n Enter d? quay l?i menu ch?n HDH v� nh?n �b� d? reboot l?i HDH, d?i qu� tr�nh boot ho�n t?t, ch�ng ta s? th?y d?u nh?c sh-2.05# xu?t hi?n, l�c n�y ch�ng ta dang ? trong ch? d? single mode (Runlevel 1). => �?i password root: sh-2.05# passwd root Nh?p password m?i, nh?p confirm password m?i Sau khi change xong password => reboot l?i HDH sh-2.05#init 6 Ch�c c�c b?n th�nh c�ng |
|
Sponsored Links | |
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |