su-$ORA_OWNER -c $ORA_HOME/bin/dbstart
should be
su - $ORA_OWNER -c $ORA_HOME/bin/dbstart
So, for a Java program, would you suggest creating a different user, giving that user just enough privileges, and then running the script so that it exited if the wrong user tried to use it?
(Just trying to think what's the best long term solution for something like this)
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos