본문 바로가기

Work/Linux(6.x)_centos

centos root password 복구

rescue mode에서


Starting shell...

bash-4.1# chroot /mnt/sysimage
sh-4.1# passwd
Changing password for user root.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.

sh-4.1# exit
exit

bash-4.1# reboot

'Work > Linux(6.x)_centos' 카테고리의 다른 글

centos 일회성 작업 예약 at 명령어  (0) 2015.07.22
centos,Redhat storage Fc 카드 관련  (0) 2015.05.21
Centos local root 로그인 막기  (0) 2015.04.08
최대 file opens 개수 설정  (0) 2015.02.06
Centos ping 응답 막기  (0) 2014.12.05