How to enter single-user mode in centos 7?

coldplay.xixi
Release: 2020-07-28 15:40:22
Original
21683 people have browsed it

How to enter single-user mode in centos 7: First enter the boot interface and press e to select; then find the relevant line and add [init=/bin/sh] at the end of the line; finally press and hold [Ctrl x 】Execute to enter single-user mode.

How to enter single-user mode in centos 7?

How to enter single-user mode in centos 7:

First we enter the startup interface and press e to select

How to enter single-user mode in centos 7?

You will enter the following interface,

How to enter single-user mode in centos 7?
then find the line marked with the red line in the picture, and add init= at the end of the line /bin/sh

How to enter single-user mode in centos 7?

Hold down Ctrl x to execute, you can enter single-user mode

How to enter single-user mode in centos 7?
As shown in the figure, we can also change the password. The root password is changed by default, and the passwords of other users can also be changed passwd junjind

Executeexec /sbin/init to exit single-user mode

How to enter single-user mode in centos 7?

Recommended related tutorials: centos tutorial

The above is the detailed content of How to enter single-user mode in centos 7?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template