How to enter the CentOS 6.5 Root user: Use the sudo command to log in as an ordinary user, enter sudo su and provide the Root password. Restart the system into single-user mode, edit the kernel command line rw init=/sysroot/bin/sh in the GRUB menu, then mount the root file system and enter the Root password.
How to enter the Root user of CentOS 6.5
There are two ways to enter the Root user of CentOS 6.5:
Method 1: Use the sudo command
sudo su
Method 2: Use single-user mode
mount -o remount,rw /
The above is the detailed content of How to enter root in centos6.5. For more information, please follow other related articles on the PHP Chinese website!