You can change the root password in the single-user mode of suselinux as follows: 1. select Failsave when grub is started, delete all the following bootoption content, and write it into init/bin/bash to enter the single-user mode. 2. wait until the command line is displayed. (None) #: # mount-oremoun...
You can change the root password in suse linux single-user mode as follows:
1. select Failsave when starting grub, and delete all the following "boot option" content, write init =/bin/bash, and enter single-user mode.
2. wait until the command line is displayed.
(None )#:
# Mount-o remount, rw/[enter]
// The root file system can be remounted to read/write. with the read/write permission, you can use the passwd command to change the password.
# Cd/usr/bin [enter]
# Passwd [enter]
// Prompt to enter the new root password
# Mount-o remount, ro/[enter] // Set the root file system to the original state
This article is from the "5niu" blog