<HTML>
<HEAD>
<TITLE>Re: Starting services the right way.</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Hello Matt<BR>
<BR>
Did you try “su username –c command args”<BR>
<BR>
Regards,<BR>
John<BR>
<BR>
<BR>
On 1/6/08 4:36 PM, "Matt Joyce" <matt.joyce@gmail.com> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
Hi,<BR>
<BR>
I've inherited a RHEL4 system which runs an application using PostgreSQL and Tomcat.<BR>
The problem is when the server starts, someone has to login, su as a specific user and start the java application.<BR>
<BR>
I'd like to make this automatic and preferable be more like the scripts in /etc/init.d<BR>
Any advice on auto starting stuff as non-root ?<BR>
<BR>
<BR>
Thanks<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'>--<BR>
redhat-sysadmin-list mailing list<BR>
redhat-sysadmin-list@redhat.com<BR>
https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list<BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:10.0px'><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>