Starting services the right way.

John Wang jwang at dataseekonline.com
Sat Jan 26 00:01:31 UTC 2008


Hello Matt

Did you try ³su username ­c command args²

Regards,
John


On 1/6/08 4:36 PM, "Matt Joyce" <matt.joyce at gmail.com> wrote:

> 
> Hi,
> 
> I've inherited a RHEL4 system which runs an application using PostgreSQL and
> Tomcat.
> The problem is when the server starts, someone has to login, su as a specific
> user and start the java application.
> 
> I'd like to make this automatic and preferable be more like the scripts in
> /etc/init.d
> Any advice on auto starting stuff as non-root ?
> 
> 
> Thanks
> 
> --
> redhat-sysadmin-list mailing list
> redhat-sysadmin-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-sysadmin-list/attachments/20080125/cd3e20a0/attachment.htm>


More information about the redhat-sysadmin-list mailing list