Wednesday, January 13, 2010

How to reset/recover the Root password in opensuse

This is a quick tutorial on how to recover the root password on opensuse.



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


“init=/bin/bash” if you are using GRUB Boot loader

or

“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.

2. Do a mount command to check if the root file system “/” is mounted as Read-Write. If root is not mounted as Read-Write, then run the following command:


mount -o remount,rw /


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


4. Reboot the system and log into the box with your new root password.

No comments:

Post a Comment

Cracking Kerberos Service Tickets (TGS) Using Kerberoasting

As of late I've been spending a lot of time researching and learning different techniques when it comes to attacking Active Directory En...