orachk: GI shell limits check is not correct because it tests against the root user and not against
Hello
When I do orachk, it says "Shell limit hard nofile for GI is NOT configured according to recommendation", which is not true
In the log file, I can see this command for the check
user=$(ls -l $CRS_HOME/bin/ocssd.bin |awk '{print $3}');soft_limits_raw=$(su - $user -c "ulimit -Sa");hard_limits_raw=$(su - $user -c "ulimit -Ha");echo -e "Soft limits(ulimit -Sa) \n\n$soft_limits_raw \n\n\nHard Limits(ulimit -Ha)\n\n$hard_limits_raw"
so to determine the grid owner os user, it does
ls -l $CRS_HOME/bin/ocssd.bin |awk '{print $3}'