When user applMgr on a primary node of RHEL8 runs ADOP to apply patches to slave/remote nodes or runs adstrtal.sh in allnodes mode to start EBS services on remote nodes, it does not read applMgr's .profile on remote nodes but get some OS settings from /etc/login.defs of the server instead. That makes some custom or important behaviors, such permission on file $CONTEXT_FILE or on files in $APPLCSF/out, inconsistent in a multi-node instance.
Two ways to avoid the problem:
umask 0022
echo "this is for debug"
2. Comment out line(s), such as "# UMASK 077", in /etc/login.defs to force/make ADOP and adstrtal.sh get OS env settings from applMgr's .profile on remote nodes.
Similarly other OS tools, such as ftp, also read OS env variables from file /etc/login.defs of server level.
No comments:
Post a Comment