LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 610|回复: 8

如何用根用用户登陆

[复制链接]
发表于 2004-12-4 21:43:56 | 显示全部楼层 |阅读模式
在虚拟上要装virtual tools 时,说我没权限使用,我不是用根用户登陆的,不知道怎么切换到根用户下?
发表于 2004-12-4 21:50:03 | 显示全部楼层
su -
 楼主| 发表于 2004-12-4 21:51:49 | 显示全部楼层
su?什么意思?
发表于 2004-12-4 22:07:51 | 显示全部楼层
楼主 你的VM TOOLS 在哪下的
能否告诉一下
它主要有什么用呀
发表于 2004-12-4 23:17:15 | 显示全部楼层
最初由 huangrenqing 发表
su?什么意思?

su=SuperUser

su
switch to superuser and work in the current shell.

su -
switch to superuser and start a new shell in root's home, i.e. /root.
 楼主| 发表于 2004-12-4 23:20:14 | 显示全部楼层
不用下,在虚拟机上装完系统后它会提示你安装的
使用在 VMware Tools 中提供的压缩功能,你可以物理地回收虚拟磁盘中的空间
你可以整理一个虚拟磁盘的碎片,重新安排虚拟磁盘上的数据,以使构成虚拟磁盘上特定文件的单独的块相互邻接。
等等吧
 楼主| 发表于 2004-12-4 23:29:29 | 显示全部楼层
还是没能明白CU的用法,我装的是图形界面,再哪输入“CU”?

如果我从不是跟用户要切换到根用户下来?
我试过转到console下,然后进行用户切换,可是我们的root 口令就是只有口令,没有用户名,我不知道怎么切换,请哪位指教一下
发表于 2004-12-4 23:52:56 | 显示全部楼层
没有用户名?  root is the username!

su is for any users who want to become superuser identity.  You may login as normal user in console, then issue the su command and supply password to become root.

In graphical interface, you may open an terminal to issue the su command, supply password to become root.

Clear?

In fact, su can be used to switch to any users not just root.  Please learn more from the [精华区].
 楼主| 发表于 2004-12-5 23:28:42 | 显示全部楼层
ok .thank you ,let me have a try!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表