On Sunday March 9, 2003 9:30 am, Jason Lanpher wrote:
> Hi everyone,
>
>     What is the best/easiest way to set up services such as tomcat to
> run as a different user than root?
>

I don't know if this is the best or easiest way to do this but many of the 
SuSE init scripts simply use: su username -c "command you want to run" to run 
the service as a user other than root. One example is running postgresql's 
postmaster, it is run as user postgres. man su for details.


-- 
Jack Ungerleider
jack at jacku.com


_______________________________________________
Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list