How to activate root user in centos

王林
Release: 2020-03-18 11:21:07
Original
3547 people have browsed it

How to activate root user in centos

By default, root has not been activated. You need to set a password for root and activate root.

The command is as follows: (Recommended tutorial: centos usage tutorial)

sudo passwd
Password:你当前用户的密码
Enter new UNIX password:这个是root的密码
Retype new UNIX password:重复root的密码
Copy after login

After completing the above steps, you can log in directly as root.

Recommended related video tutorials: linux video tutorial

The above is the detailed content of How to activate root user in 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