Run a process at boot time as another user

Matthew 'Fringe' Duhan yellowdog-general@lists.terrasoftsolutions.com
Mon May 20 01:21:01 2002


Hopefully someone can help me. I seem to be having a brain fart on how to do
this. I would like to have a few programs start up when my system boots, the
way mysql, httpd (apache), etc do now. I figure that I can put a script into
/etc/rc.d/init.d and symbolically link to it in the runlevels I'd like it to
start in. But how do I get the programs to run under a user other than root?
For example, mysql on YDL 2.2 runs as user mysql out of the box. How can I
get one of these applications to run under a user I specify? Please help.
Thanks.

Sincerely,
Matt
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Matthew Duhan         fringe@shore.net          http://www.fringenet.net
When I want my opinions I'll ask me for them.
WWW, HTML, VR, MOO, HRSFA, TMBG, DNA--any more initials and I'll go insane
I have animal magnetism.  When I go outside, squirrels stick to me.