Archive for September 21st, 2009

how to reset the root pasword (openSUSE 11)

Monday, September 21st, 2009

Well, shit happens. You’ve lost your root password, you’re not a GOD any more. Don’t worry, in three simple steps you can reset the root password.

First, reboot the machine. When it starts choose the normal boot menu from the list, and in the Boot options type:

init=/bin/bash

It will start in a privileged mode, where you can change the password:

(none):/> passwd
Changing password for root.
New Password:
Reenter New Password:
Password changed.
(none):/>

Presto, you’re done!