lidasuai 发表于 2012-06-29 16:12

安装Cluster出现的奇怪问题,已经是root身份,还要求我切换到root

最近在家里玩虚拟机安装Sun Cluster 3.2,在执行安装脚本的时候,出现了下面的提示。关键问题是:我已经用root身份执行这个脚本了啊。
请教一下大家,有什么解决办法没有???


#root@node1 # ./installer -nodisplay

Log In as Superuser


WARNING: You are not logged in as root. You must be logged in as root so that
you have appropriate permissions to complete the install.

lidasuai 发表于 2012-06-29 16:35

#root@node1 # id
uid=0(#root) gid=0(root)

已经是root,为啥就不好用呢。重启也不行……完全昏倒了。

119beyond 发表于 2012-07-04 16:24

看一下,你这个文件的权限

hejia0105 发表于 2012-07-06 15:50

你直接修改这个 installer 脚本吧
在退出的地方注释掉。
validate_user() {
   usr=`${allOS_iD} | ${allOS_cuT} -d'(' -f1 | ${allOS_cuT} -d'=' -f2`
   if [ "$usr" != "0" ]; then
   echo "You must be root to run this script"
   exit 1
   fi
}
页: [1]
查看完整版本: 安装Cluster出现的奇怪问题,已经是root身份,还要求我切换到root