How to enter single user mode in centos7

王林
Release: 2020-04-02 10:32:49
Original
4119 people have browsed it

How to enter single user mode in centos7

First we enter the boot interface, press e to select

How to enter single user mode in centos7

Then find the line marked with the red line in the picture, at the end of the line Add init=/bin/sh

How to enter single user mode in centos7

Hold down Ctrl x and execute to enter single-user mode

How to enter single user mode in centos7

As shown in the figure As shown, 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

Execute exec /sbin/init to exit single-user mode.

Recommended related tutorials: centos tutorial

The above is the detailed content of How to enter single user mode in centos7. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!