1. Start the terminal and enter the following command
su root
2. A password prompt will pop up. Enter the password of the root account. Press Enter after entering to enable it. The root user.
Recommended tutorial: centos tutorial
The above is the detailed content of How to enable root user in centos. For more information, please follow other related articles on the PHP Chinese website!