본문
Give root Password for maintenance
The Standard Way
This procedure gives you a full root shell! You can damage your system if you are not careful!
When booting up press ESC at the grub prompt and use the arrow keys to select the rescue mode option and press enter.
- This will boot the system in rescue mode and you should arrive at a prompt that looks like this
root@something
- To reset your password type this in
passwd <username>
and then enter you new password.
- Once you are done resetting your password you can than switch back to the normal GUI mode by putting this in
init 2
If if appears to boot normally, but you see a message that says:
- Give root password for maintenance (or type Control-D to continue):
then you will have to try a different trick below.
The Other Way
If the "Standard Way" does not work for you and you recieve the "Give root password for maintenance" message, you can recover your password using the following steps
1. Reboot your computer
2. Press ESC at the grub prompt.
3. Select your image.
4. Highlight the line that begins kernel and press 'e' to edit
5. Go to the very end of the line, change the ro to rw and add init=/bin/bash
press enter, then press b to boot your system.
Your system will boot up to a passwordless root shell.
6. Type in passwd username
7. Set your password.
8. Type in reboot
2번째 커널 구문에 커서를 놓고 다시 b를 눌러서 편집모드로 들어간다.
ro 를 rw로 바꾸어 주고 single 뒤에 init=/bin/bash 추가 엔터
passwd root 로 패스워드 Change! 그러나 reboot 명령이 안된다 ㅡㅡ;
여기서 바로 첫번째를 선택하면 바로 재부팅없이 x-window를 실행시킨다.
관련링크
- http://genes1s.egloos.com/2451618 2094회 연결
댓글목록
등록된 댓글이 없습니다.