From owner-freebsd-questions Tue Nov 3 06:41:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA15971 for freebsd-questions-outgoing; Tue, 3 Nov 1998 06:41:15 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from militzer.me.tuns.ca (militzer.me.TUNS.Ca [134.190.50.153]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA15965 for ; Tue, 3 Nov 1998 06:41:13 -0800 (PST) (envelope-from bemfica@militzer.me.tuns.ca) Received: from localhost (bemfica@localhost) by militzer.me.tuns.ca (8.8.8/8.8.5) with SMTP id KAA00523; Tue, 3 Nov 1998 10:27:21 -0400 (AST) Date: Tue, 3 Nov 1998 10:27:20 -0400 (AST) From: Antonio Bemfica Reply-To: Antonio Bemfica To: Dark Thunder cc: freebsd-questions@FreeBSD.ORG Subject: Re: About INITTAB In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You may specify directories to be searched for user scripts at boot time. See the "local_startup=" line in the /etc/rc.conf file. One of the default places is "/usr/local/etc/rc.d" - just drop a *.sh script there and it will be executed (it seems "/etc/rc.local" is no longer recommended). Check the examples section of the su man page for ways of running a program as a different user. Antonio On Tue, 3 Nov 1998, Dark Thunder wrote: > How to create a inittab in FBSD, so FBSD will auto load (with different > userid, not root) the program and keep it alive after reboot? Please > email me at dthunder@zla.ml.org. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message