On Mon, Dec 17, 2001 at 07:33:13AM +0100, Striegel, Juergen wrote:
> I've got another question about that:
> what if I want to start an application automatically that don't run as root?
> I suggest running an app from inittab or via rc.local the app runs as
> root...

>From the inittab, or wherever, run a script which contains

exec su username -c "command"

> BTW:  I hope accessing a device (over the net) that is 'autostarted' in this
> way still require a login??

Depends on what processes you leave running.  xinetd and it's ilk are
customarily started from the rc.d/init.d tree...

Cheers,
-- jra
-- 
Jay R. Ashworth                                                [EMAIL PROTECTED]
Member of the Technical Staff     Baylink                             RFC 2100
The Suncoast Freenet         The Things I Think
Tampa Bay, Florida        http://baylink.pitas.com             +1 727 647 1274

   "If you don't have a dream; how're you gonna have a dream come true?"
     -- Captain Sensible, The Damned (from South Pacific's "Happy Talk")

--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to