Home >Operation and Maintenance >CentOS >How to enter root permissions in centos7
There are two ways to enter the root authority of CentOS 7: use the sudo command: enter sudo su - in the terminal and enter the current user password. Log in directly as the root user: Select "Other" on the login screen, enter "root" and the root password. Note: Operate carefully with root privileges, perform tasks with sudo privileges, and change the root password regularly.
How to enter root permissions (CentOS 7)
To enter the root permissions of CentOS 7, there are two methods :
Method 1: Use sudo command
sudo su -
Method 2: Log in directly as the root user
Prerequisite: You must know the password of the root user.
Note:
sudo
command when performing tasks as root. Log in directly as root only when necessary. The above is the detailed content of How to enter root permissions in centos7. For more information, please follow other related articles on the PHP Chinese website!