
一,安装centos 6.5或6.6版本系统(可以使用VM虚拟机安装centos系统),开机后,在桌面空白处点击右键,选择【在终端中打开】,

二,输入【su root】,然后按Enter键,

三,提示输入密码,输入用户root的密码,然后按Enter键,

四,出现#[root@localhost 桌面]#,这样就成功切换到临时root用户了,

五,我们来测试一下权限,输入【cd /root】,然后按Enter键,成功进入/root目录,如果不是root用户,是无法进入/root目录的,

六,再输入【ls】,然后按Enter键,可以查看/root目录下的文件列表。
