[SunHELP] starting a process as user JoeDoe

Phil Stracchino alaric at caerllewys.net
Wed Sep 24 13:15:53 CDT 2003


On Wed, Sep 24, 2003 at 03:03:37PM -0300, Fernando Machado wrote:
> Friends!!!
> 
> Needdanother help! how do i start a process in rc2.d but not as root, as 
> a user?
> i need to start tomcat as user tomcat, but if i insert anything in 
> rc2.d, it will start as root and will not work.
> 
> thanx!!!!!!

su - <user> <command>


-- 
 .*********  Fight Back!  It may not be just YOUR life at risk.  *********.
 : phil stracchino : unix ronin : renaissance man : mystic zen biker geek :
 :  alaric at caerllewys.net : alaric-ruthven at earthlink.net : phil at latt.net  :
 :   2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold)   :
 :    Linux Now!   ...Because friends don't let friends use Microsoft.    :



More information about the SunHELP mailing list