A brief analysis of how to change the root password in Linux suse11 if you forget it

A brief analysis of how to change the root password in Linux suse11 if you forget it

How to solve the problem of forgetting the root password in SUSE Linux

SUSE (Linux operating system)

SUSE (pronounced /ˈsuːsə/) refers to SUSE Linux, a Linux distribution released and maintained by the German company SuSE Linux AG. It is a registered trademark of this company. The first version appeared in early 1994. The company was acquired by Novell in 2004.

1. Restart the machine. After the grub boot interface appears, press F2. Add init=/bin/bash to the option to start Linux. By passing the init=/bin/bash parameter to the kernel, the OS runs bash before running the login program, and a command line appears.

2. Wait for a moment and the (none)#: command line will appear.

3. Enter mount -n / -o remount,rw

4. Enter mount –n /usr

5. Enter cd /usr/bin

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

7. After the modification is completed, remember to use mount -n / -o remount,ro to set the root file system to its original state.

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

Summarize

The above is the method of changing the forgotten root password of linux suse11 introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!

You may also be interested in:
  • How to modify and reset the root password in Linux (super simple)
  • How to solve the error when connecting to MySQL in Linux: Access denied for user 'root'@'localhost'(using password: YES)
  • How to prevent ordinary users from suing to root in Linux
  • Solution to the problem that there is no file or directory when switching to root by ordinary user in Linux
  • How to set the initial root password in Linux

<<:  Implementation of k8s node rejoining the master cluster

>>:  MySQL column to row conversion, method of merging fields (must read)

Recommend

CSS implements 0.5px lines to solve mobile compatibility issues (recommended)

【content】: 1. Use background-image gradient style...

TypeScript union types, intersection types and type guards

Table of contents 1. Union Type 2. Crossover Type...

MySQL time type selection

Table of contents DATETIME TIMESTAMP How to choos...

mysql5.6.zip format compressed version installation graphic tutorial

Preface: MySQL is a relational database managemen...

MySQL slow log online problems and optimization solutions

MySQL slow log is a type of information that MySQ...

Install Memcached and PHP Memcached extension under CentOS

Regarding the high-performance distributed memory...

mysql8 Common Table Expression CTE usage example analysis

This article uses an example to describe how to u...

How to monitor array changes in Vue

Table of contents Preface Source code Where do I ...

Detailed explanation of MySQL DEFINER usage

Table of contents Preface: 1.Brief introduction t...

Detailed explanation of the solution to docker-compose being too slow

There is only one solution, that is to change the...

How to generate a unique server-id in MySQL

Preface We all know that MySQL uses server-id to ...

HTML+CSS to create a top navigation bar menu

Navigation bar creation: Technical requirements: ...

Two ways to remove the 30-second ad code from Youku video

I believe everyone has had this feeling: watching ...

The implementation principle of Tomcat correcting the JDK native thread pool bug

To improve processing power and concurrency, Web ...