[NTLUG:Discuss] Run Program as User From Init Scripts

lee@brave.com lee at brave.com
Thu Aug 16 05:34:33 CDT 2001


i'd like to run a program as a user from the init boot scripts.  for
instance, i'd like to run fetchmail at boot time, but i don't want to run
it as root, and besides, fetchmail is very picky about who runs the
program (my config for fetchmail is in my home directory).

so how do i manipulate a rc.local file in the init scripts to call
fetchmail (or any other program) but run it as a particular user?

TIA

-- lee



More information about the Discuss mailing list