From owner-freebsd-questions@FreeBSD.ORG Thu Mar 8 15:07:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB40A16A402 for ; Thu, 8 Mar 2007 15:07:56 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.226]) by mx1.freebsd.org (Postfix) with ESMTP id A98B613C481 for ; Thu, 8 Mar 2007 15:07:56 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by wr-out-0506.google.com with SMTP id 71so845598wri for ; Thu, 08 Mar 2007 07:07:56 -0800 (PST) Received: by 10.100.125.5 with SMTP id x5mr317650anc.1173366475989; Thu, 08 Mar 2007 07:07:55 -0800 (PST) Received: from localhost ( [67.189.184.224]) by mx.google.com with ESMTP id 44sm2833407wri.2007.03.08.07.07.54; Thu, 08 Mar 2007 07:07:54 -0800 (PST) Date: Thu, 8 Mar 2007 10:07:52 -0500 From: Gerard Seibert To: freebsd-questions@freebsd.org Message-ID: <20070308100752.3884e0a6@localhost> In-Reply-To: <6.0.0.22.2.20070308084942.0247a948@mail.computinginnovations.com> References: <20070308085511.1ECA.GERARD@seibercom.net> <6.0.0.22.2.20070308084942.0247a948@mail.computinginnovations.com> Organization: Seibercom.net X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_ga+W3=.BU2p0Cs9zKmZtF.."; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: Running script from rc.d as local user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 15:07:57 -0000 --Sig_ga+W3=.BU2p0Cs9zKmZtF.. Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 08 Mar 2007 08:52:20 -0600 Derek Ragona wrote: > You need a first line in your script to choose what shell to run it: > #!/usr/local/bin/bash That is all ready in the script. Sorry, I inadvertently failed to disclose that. >=20 > You should add a line: > /usr/bin/su [to your username] OK, I'll try that. > Then try it at bootup as an rc script. --=20 Gerard "I think he said 'Blessed are the cheesemakers.'" "Nonsense, he was obviously referring to all manufacturers of dairy products." The Life of Brian --Sig_ga+W3=.BU2p0Cs9zKmZtF.. Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (FreeBSD) iD8DBQFF8CbIFCqdq4D1ybYRAvp4AKC3RByiTtG8s3sK+TJgtZ4qg144iwCeO4Pn Z1yU7WltJxD38NDTWfYDh7w= =sNmO -----END PGP SIGNATURE----- --Sig_ga+W3=.BU2p0Cs9zKmZtF..--