Professional Documents
Culture Documents
Procedure: Linux Enterprise Desktop 11', Enter 'E', Enter The Corresponding 'Start Boot' Menu
Procedure: Linux Enterprise Desktop 11', Enter 'E', Enter The Corresponding 'Start Boot' Menu
This post explains the solution to the issue that I forgot the root password processing
method on SUSE Linux 11. Please read further down to find more details on the
topic.
PROCEDURE
Restart the system. After the grub boot interface appears, add init=/bin/bash to the
boot option of booting Linux and pass the init=/bin/bash parameter to the kernel to
make the OS run bash before running the login program. Command line and change
the root user password.
1. Restart the server and enter the grub boot interface. First select 'FailSafe-SUSE
Linux Enterprise Desktop 11', enter 'e', enter the corresponding 'Start Boot' menu
and enter init= at the end of the 'Boot Options' line. /bin/bash parameter, then
press Enter directly.
2. At this point, the system will start according to the corresponding directory and
enter the (none)#: prompt.
(none)#
#mount -o remount, rw / [enter] // The root file system is remounted to read and write.
After the read and write permissions, the password can be changed by the passwd
command.
#cd /usr/bin [enter]
#passwd root //Enter the passwd root command to change the root password,
prompting "Enter the new password for root"
#mount -o remount,ro / [enter] //Set the root file system to its original state.
3. Restart the system (can directly turn off the power). You can use the new
password to enter the SUSE Linux 11 system without destroying any data in the
original system.
This would be the solution to the issue that I forgot the root password processing
method on SUSE Linux 11.
init=/bin/bash
Press enter to boot. This will boot the ‘SUSE Linux Enterprise Server 11.x‘ in
the Single user mode. In this mode there is no file system system which is
mounted, so we will use mount command to remount the file system in read
& write mode.
(none):/ # mount -o remount,rw /
(none):/ # mount -o remount,rw /usr ( if the /usr file system is on the
separate partition)
Now try to run commands like resetting the root password.
Run the mount command to mount the file system in rw mode and then try
to reset root password.