Chia Sẽ Kinh Nghiệm Về IT



Tìm Kiếm Với Google
-


Gởi Ðề Tài Mới  Gửi trả lời
 
Công Cụ Xếp Bài
Tuổi 02-11-2009, 07:07 PM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
Reset/recover the ROOT password in openSUSE
How to reset/recover the ROOT password in openSUSE



Don’t have to mention the panic that kicks in when you have forgot or misplaced your root user password. Like most other operating systems, openSUSE helps you to recover or reset the root password from the console. Please try the following to reset/recover root password. This should work on openSUSE 11.0 & openSUSE 10.x (tested on openSUSE 10.3):

1. Boot the system and select the normal boot menu from the list. Once selected, in the “Boot Options” box type

Mã:
“init=/bin/bash” if you are using GRUB Boot loader
“linux init=/bin/bash” if you are using LILO Boot Loader


This will launch you straight into a Bash shell prompt which comes up even before the Single User mode loads and has the “/” root file system mounted.
Do a mount command to check if the root file system “/” is mounted as Read-Write. In my system, it indeed mounted as Read-Write.

Mã:
opensuse11:~ # mount

Else, you may need to remount the “/” file system with read-write as follows:

Mã:
opensuse11:~ # mount -o remount,rw /

Now, simply type the passwd command and enter a new password:

Mã:
opensuse11:~ # passwd Changing password for root New Password: Reenter New Password: Password changed

Reboot the system and you are back in business.

Mã:
opensuse11:~ # reboot

Chuc thanh cong



Last edited by hoctinhoc; 02-11-2009 at 07:10 PM..
  Trả lời ngay kèm theo trích dẫn này
Gửi trả lời



Quyền Hạn Của Bạn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Hình Cảm xúc đang Mở
[IMG] đang Mở
Mã HTML đang Tắt




Bây giờ là 07:48 AM. Giờ GMT +7



Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.