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
Hack password root of Linux
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





Hack password linux - Fedora or CentOS..



Một nguyên tắc không thể nào thay đổi được là : khi đã dụng được vào cái máy tình thì bất kể hệ điều hành nào bạn cũng có thể crack đc passwd cho dù bạn Security cỡ nào . Linux , một hệ điều hành bảo mật khá cao nhưng crack passwd lại dễ hơn bao giờ hết , không dùng bất cứ tool gì , thao tác lại nhanh và dễ nữa . Bài viết sau đây tôi xin hướng dẫn bạn cách hack passwd linux ( lưu ý chỉ thực hiện được khi bạn đang dùng máy đó , còn từ xa chỉ có cách là dò passwd thôi )

Nếu dùng grub cho boot loader, khi đang ở menu chọn lựa hệ điều hành khởi động,

Di chuyển thanh ngang xuống hđh Linux bạn muốn khởi động
Nhấn phím e (viết tắt của edit) khi thanh ngang đang ở ngay dòng
kernel (hd... ) " dòng thứ 2 , ở đây có 3 dòng "
Di chuyển con trỏ xuống cuối dòng
Thêm vào -s hoặc single hoặc 1
Nhấn phím Enter rồi phím b để khởi động

Sau khi khởi động xong, gõ lệnh passwd để thay đổi mật khẩu

Xem phim hướng dẫn

http://www.youtube.com/watch?v=_wIBxc06rl0

Cách khác :

Bạn cũng có thể dùng CD1 hoặc một LiveCD nào đó để khởi động hệ thống. Nếu dùng CD1 chọn rescue mode. Nếu dùng LiveCD, cho hệ thống boot lên. Giả sử Linux nằm trên /dev/hda1 (vùng đĩa đầu tiên của ổ cứng đầu tiên). Thực hiện lệnh như dưới

mkdir /temp
mount /dev/hda1 /temp
chroot /temp
passwd

Sau khi đổi password rồi, gõ exit và reboot để khởi động lại hệ thống



Chuc thanh cong


  Trả lời ngay kèm theo trích dẫn này
Gửi trả lời


Công Cụ
Xếp Bà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à 01:21 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.