首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

linux 中 root 用户的权限有关问题 期待您帮忙解决 多谢

2013-07-01 
linux 中 root 用户的权限问题期待您帮忙解决 谢谢我想在linux 下安装JDK,当我用root用户在终端输入 /etc/

linux 中 root 用户的权限问题 期待您帮忙解决 谢谢
我想在linux 下安装JDK,当我用root用户在终端输入 /etc/profile查看配置时提示权限不足的问题.  在linux中root的权限不是最高的吗?  为什么还会提示权限不足? 请问怎么才能解决呢?
linux 中 root 用户的权限有关问题  期待您帮忙解决 多谢 Linux root
[解决办法]
楼主的写法会运行/etc/profile里的某些内容,可能某些内容不能在一个登录的Shell里运行,这个要看/etc/profile的具体内容。或者楼主可以sh -x /etc/profile试试看。

查看配置内容,用cat less more就好了。
less /etc/profile
[解决办法]

# 查看
cat /etc/profile

# source
source /etc/profile

热点排行