Is there a way to specify root access method on commandline?
Perhaps this is a "wish list" item... I use orachk against multi-node Oracle RAC. I could use the silent option if I could somehow specify method 2. The default is method 1.
$ORACLE_BASE/tools/ORAchk/12.1.0.2.7/orachk -b
...
1. Enter 1 if you will enter root password for each host when prompted
2. Enter 2 if you have sudo configured for oracle user to execute root_orachk.sh script
3. Enter 3 to skip the root privileged collections
4. Enter 4 to exit and work with the SA to configure sudo or to arrange for root access and run the tool later.
Please indicate your selection from one of the above options for root access[1-4][1]:- 2