Chinaunix
标题:
-bash: /root/.bash_profile: 权限不够
[打印本页]
作者:
taiyangzhizi520
时间:
2010-07-16 10:23
标题:
-bash: /root/.bash_profile: 权限不够
[oracle@certServer1 ~]$ su - root
口令:
-bash: /root/.bash_profile: 权限不够
-bash-3.2#
-bash-3.2#
/从crt登陆,切换用户出现这个提示,到底是什么原因呢?
作者:
chenyx
时间:
2010-07-16 20:57
现在应该已经是root用户了吧,楼主用id命令确认下
作者:
q1208c
时间:
2010-07-16 21:18
ls -l /root/.*
看下文件的属主和权限.
作者:
vermouth
时间:
2010-07-16 22:22
读取不到配置文件,已经是 root 了,检查一下都在不在以及文件目录权限。
作者:
zhxm0624
时间:
2010-08-12 09:40
已经切换到root用户,但是没有加载/root/.bash_profile
作者:
thupinUnion
时间:
2010-08-12 09:43
应该是你shell启动脚本里有要执行/root/.bash_profile的行,但是这个文件没有相应的权限,看看是不是这样.
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2