소프트웨어

[ubuntu] 비밀번호를 까먹었을 경우!! 비밀번호 새로 설정하는 방법

개발자_이훈규 2014. 3. 11. 01:07

1.

키워드

ubuntu, 우분투, 비밀번호, 까먹,새로,설정,방법,쉬운,대박,




2.

비밀번호를 까먹었을 경우



   1) grub설정창을 띄웁니다

      -> 부팅할 때 shift나 esc키를 누르면 됩니다.



   2) grub에서 복구 모드를 선택합니다.

    


   3) 복구 모드에서 root prompt를 선택합니다

      -> 선택하면 root@[user id]: 로 커맨드 라인이 나옵니다.



   4) $ passwd [user id] 

      -> 이렇게 하면 새로 비밀번호를 입력하란 창이 뜹니다.



   +) 만약에 passwd: Authentication token manipulation error

                 passwd: password unchanged

       라고 뜬다면 아래와 같이 입력면 됩니다.(현재 상태가 read only라서 그렇대요)

       $ mount -rw -o remount /




출처 : https://help.ubuntu.com/community/LostPassword

        http://askubuntu.com/questions/91188/authentication-token-manipulation-error