2.3.1 Deciding Which User Should Run Oracle ORAchk or Oracle EXAchk
Run health checks as root
. Also, run health checks as the Oracle Database home owner or the Oracle Grid Infrastructure home owner.
Most health checks do not require root
access. However, you need root
privileges to run a subset of health checks.
To run root
privilege checks, Oracle ORAchk uses the script root_orachk.sh
and Oracle EXAchk uses the script root_exachk.sh
.
By default, the root_orachk.sh
and root_exachk.sh
scripts are created in the temporary directory, that is, $HOME
used by Oracle ORAchk and Oracle EXAchk. Change the temporary directory by setting the environment variable RAT_TMPDIR
.
For security reasons, create the root
scripts outside of the standard temporary directory in a custom directory.
To decide which user to run Oracle ORAchk and Oracle EXAchk: