How to recovery password under ubuntu


ที่จริงเข้าไปใน recovery mode ก็ได้

ที่จริงแล้วผมมองว่า Configuration ที่จะกล่าวถึงนี้น่าจะใช้ได้กับ Distro อื่นด้วยนะครับ

Solution : 

Press ESC at the grub prompt.

Press e for edit.

Highlight the line that begins kernel ………, press e

Go to the very end of the line, add rw init=/bin/bash

press enter, then press b to boot your system.

Your system will boot up to a passwordless root shell.

Type in passwd username

Set your password.

Ref: ubuntugeek.com

คำสำคัญ (Tags): #password#recovery
หมายเลขบันทึก: 150029เขียนเมื่อ 28 พฤศจิกายน 2007 22:23 น. ()แก้ไขเมื่อ 11 กุมภาพันธ์ 2012 21:44 น. ()สัญญาอนุญาต: จำนวนที่อ่านจำนวนที่อ่าน:


ความเห็น (7)
ผมลองกับ RHEL แล้วมันไม่ work นะครับเดี๋ยวขอเวลาผมไปหาบทความก่อนนะครับ เพราะว่ามันน่าจะมีวิธีการอยู่แล้วนะครับ
for RHEL, you may have to put "single". I used to do with RH8 :-P.

so you mean that change from

rw init=/bin/bash

to

rw init=single

Am I right? 

 

เพิ่มคำว่า single เข้าไปท้าย string ดือๆเลย ไม่ต้อง init = single อะครับ

 


kernel /boot/vmlinuz-2.4.17 ro root=/dev/sda3 console=tty0 console=ttyS0 single

 

 

http://www.rajeevnet.com/linux/grub_serial_console.html 

พบปัญหาการใช้งานกรุณาแจ้ง LINE ID @gotoknow
ClassStart
ระบบจัดการการเรียนการสอนผ่านอินเทอร์เน็ต
ทั้งเว็บทั้งแอปใช้งานฟรี
ClassStart Books
โครงการหนังสือจากคลาสสตาร์ท