A Brief analysis of linux suse11 forgetting root password modification method

  • 2020-12-10 01:04:10
  • OfStack

SUSE Linux Forgot the root password

SUSE (Linux Operating System)

SUSE (pronunciation / & # 712; suː sə "SUSE Linux" means SUSE Linux, which is the Linux edition issued and maintained by SuSE Linux AG, Germany, and is a registered trademark of the company. The first version appeared in early 1994. The company was acquired by Novell in 2004.

1. Restart the machine, after the appearance of grub boot interface, press F2, add init=/bin/bash in the option of starting linux, pass init=/bin/bash parameter to the kernel to make OS run bash before running login program, and the command line appears.

2. Wait a moment for (none)#: command line.

3. Enter ES39en-ES40en / -ES41en remount,rw

4, enter mount, n /usr

5. Enter cd /usr/bin

6. Enter the passwd command to reset the password. Enter a new password.

7. After modification, ES59en-ES60en / -ES61en remount should be used to set the root file system to the original state.

8. Enter exit to exit the system, restart the system, and log in with the new password

conclusion


Related articles: