我在/etc/profile.d/
# default_dba.sh
if groups | grep -qw "dba" ;
then
if [ $USER != "oracle" ]; then
. /u00/scripts/oracle_alias
fi
fi
如果LDAP用户是dba组的成员,scip将设置别名。 这很管用。 LDAP用户启动一个python脚本。 最后一步,python脚本调用一个新的bashshell
^{pr2}$在shell会话中,缺少特殊别名(由/u00/scripts/oracle_alias脚本创建),只有默认的操作系统别名。在
我可以在不为LDAP用户创建主目录的情况下解决这个问题吗?在
当shell/etc'文件在shell/etc'下被调用时…/etc。例句:bash-l
有关更多详细信息,请参见manbash下的“调用”部分。在
代码段(来自手册页)
相关问题 更多 >
编程相关推荐