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,
2、 Enter Su root and press enter,
3、 Prompt for password, enter the password of user root, and then press enter,
4、 Appear#[ [email protected] In this way, you can successfully switch to the temporary root user,
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,
6、 Then enter ls and press enter to view the file list in the / root directory.