Suse linux single-user mode to modify the root password

  

The method of modifying the root password through suse linux single-user mode is as follows:

1. Select Failsave when starting grub, the following "boot option" delete all contents, write init=/bin/bash, enter Single user mode.

2. Wait a moment for the command line to appear.


(none)#: #mount -o remount, rw /[enter] //The root file system is remounted to read and write, with read and write permissions, you can pass passwd The command changes the password. #cd /usr/bin [enter] #passwd [enter] //Prompt for the new password for root #mount -o remount,ro/[enter] //Set the root file system to its original state

Copyright © Windows knowledge All Rights Reserved