How to get temporary root permission for desktop version of CentOS system

Time:2021-3-3

Centos 6.6系统获取临时root权限

1、 Install CentOS version 6.5 or 6.6 (you can use VM to install CentOS system). After power on, right-click in the blank space of the desktop and select open in terminal,

Centos 6.6系统获取临时root权限

2、 Enter Su root and press enter,

Centos 6.6系统获取临时root权限

3、 Prompt for password, enter the password of user root, and then press enter,

Centos 6.6系统获取临时root权限

4、 Appear#[ [email protected] In this way, you can successfully switch to the temporary root user,

Centos 6.6系统获取临时root权限

5、 Let’s test the permissions. Enter [CD / root], and then press enter to enter the / root directory successfully. If it’s not the root user, you can’t enter the / root directory,

Centos 6.6系统获取临时root权限

6、 Then enter ls and press enter to view the file list in the / root directory.

Centos 6.6系统获取临时root权限

 

Recommended Today

Practice analysis of rust built-in trait: partialeq and EQ

Abstract:Rust uses traits in many places, from simple operator overloading to subtle features like send and sync. This article is shared from Huawei cloud community《Analysis of rust built-in trait: partialeq and EQ》Author: debugzhang Rust uses traits in many places, from simple operator overloading to subtle features like send and sync. Some traits can be automatically […]