- Boot CD Bootable Linux ( DSL or Knoppix )
- Loading with Command Line ( Text Mode )
- Mount Harddisk that you want to reset root password
(#mount –t ext3 –o rw /dev/hda3 /mnt/hda3)
- Go to /mnt/hda3/etc/
- Type chmode 600 shadow
- vi shadow
- you will see root password as follow:
( Eg - root:$1$aB7mx0Licb$CTbs2RQrfPHkz5Vna0.fnz8H68tB:10852:0:99999:7::: )
- Delete Un-know Character as follow:
( Eg - root::10852:0:99999:7::: )
- Save & Exit
- type chmode 400 shadow
Now, you can enter as root with no password,
Just type user name = root, and password = enter key.
Subscribe to:
Post Comments (Atom)
-
ကကုသန္ဓော ကောဏဂမနော ကဿပေါ ဂေါတမော မုနိဆယ်ထား ဆယ်တော်မူမြတ်စွာဘုရား မေတ္တယျော ပဉ္စဗုဒ္ဓေါတေ သိသေမေသန္တ သဗ္ဗဒါ ဧတေသံ အာနုဘာဝေန ရက္ခဒေဝါ မဟိဒ္ဓ...
-
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target Created symlink /etc/systemd/system/sleep.target → /d...
-
1. install CentOS 4.4 (for me I'm using CentOS Mini 4.4, only 1 disc) 2. install nmap using yum (yum -y install nmap) 3. install etterca...
No comments:
Post a Comment