In the maintaining process of SIG system, the password of the background server SUSE’s root user has been lost.
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.