What is the default username and password of centos?

藏色散人
Release: 2022-01-07 15:57:16
Original
33638 people have browsed it

The default username of centos is root, and the default password is 12345 or centos. If you forget it, you can crack it by entering single-user mode.

What is the default username and password of centos?

The operating environment of this article: CentOS 7 system, Dell G3 computer.

What is the default username and password of centos?

CentOS initial login account and password:

  • The default user name is: root

  • The default password is: 12345 or centos

If you forget, you can enter the single-user crack

Cracking method

1.Linux boot boot At this time, press e on the keyboard to enter the GRUB menu interface.

2. When the GRUB boot screen appears (CentOS (2.6.18-274**)), press the letter e key to enter the GRUB editing state.

3. Move the cursor to the kernel... line, then type "e" to enter command line editing.

Add a space s at the end of the kernel line and press Enter

Type "b" to start the system, which will enter single-user mode.

4. At this time, you can use the passwd command to change the password.

passwd root
Copy after login

Reboot after completing the change.

Recommended tutorial: "centos tutorial"

The above is the detailed content of What is the default username and password of centos?. 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