No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


FAQ-how to solve the problem that the root password of SUSE system has forgotten

Publication Date:  2012-12-14 Views:  60 Downloads:  0
Issue Description
In the maintaining process of SIG system, the password of the background server SUSE’s root user has been lost.
Alarm Information
Handling Process
1. Restart the system, after appeared grub guide interface, add “init=/bin/bash” in the options used to start linux, through transmitting “init=/bin/bash” parameters to the kernel to lead to the OS operates the bash before operating login program, appears the command line:
The specific operations are as follows:
In grub guide interface, select “FailSafe”, input “e”, enter the corresponding starting guide menu, select the first line “kernel…..”, in the entered “e” line, enter “blank” and then input “init=/bin/bash” parameter. After added, enter “b” to start.
At this time system will start according to the corresponding menu, and enter a (none)#: clew.
2. Execute command “mount -n / -o remount,rw ”, then can through command “passwd” to modify the password.
3. Input command “passwd root” can reset the password.
4. After modified successfully, use the command “mount -n / -o remount,ro” set the root file to the original state.
5. Restart linux to make the password effective.
Then input the new root password when login the system again.
Root Cause