Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2001 02:20:02 -0500
From:      Mike Meyer <mwm@mired.org>
To:        "default" <default013subscriptions@hotmail.com>
Cc:        questions@freebsd.org
Subject:   Re: starting an app on another shell
Message-ID:  <15289.27298.164718.385528@guru.mired.org>
In-Reply-To: <122337642@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
default <default013subscriptions@hotmail.com> types:
>  Hi,
>  
>  one more question... I need to make a startup script to run an application
>  under a different user from boot...
>  
>  how could i do this? can i use su - username? :P

Basically, yes. Add -c and then the command in quotes. You might exec
the entire things to save a process. You might also check the things
in /usr/local/etc/rc.d for examples.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Q: How do you make the gods laugh?		A: Tell them your plans.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15289.27298.164718.385528>