Subject: Re: non-root processes in rc.local
To: Brook Milligan <brook@trillium.nmsu.edu>
From: Alec H. Peterson <chuckie@panix.com>
List: current-users
Date: 08/14/1995 15:55:54
Brook Milligan writes:
>
>I would like to run a database monitor deamon from rc.local but don't
>want it to have root permissions. How can I get it to run with
>different permissions?
Well, say user 'foo' is to be the user that the program should be run
as, so do:
su foo -c <program name>
The program name must be in quotes if it is to have any command-line
arguments.
Alec
--
+------------------------------------+--------------------------------------+
|Alec Peterson | Panix Public Access UNIX and Internet|
|chuckie@panix.com | New York City, NY |
+------------------------------------+--------------------------------------+