[root@localhost LO-rpms]# /usr/bin/su -c LO-rpms/LO_OfflineInstall.sh
bash: LO-rpms/LO_OfflineInstall.sh: No such file or directory
You are specifying that bash should run
LO-rpms/LO_OfflineInstall.sh while you are already in the
LO-rpms directory. So bash is trying to find
LO-rpms/LO-rpms/LO_OfflineInstall.sh, a version of
LO_OfflineInstall.sh in the directory
LO-rpms/LO, which should be a subdirectory of a higher level subdirectory with the same name ...
If you are already in the
LO-rpms folder, try:
# /usr/bin/su -c ./LO_OfflineInstall.shOr write out the whole path:
# /usr/bin/su -c /home/<yourname>/LO-rpms/LO_OfflineInstall.sh