[CentOS] best way to start and shutdown programs in CentOS?

Tue Nov 23 04:34:30 UTC 2010
Kill Script <killscript at gmail.com>

On Mon, Nov 22, 2010 at 8:03 PM, John R Pierce <pierce at hogranch.com> wrote:

>        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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20101122/8dea44d5/attachment-0005.html>