From owner-freebsd-questions@FreeBSD.ORG Wed Sep 16 18:21:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DA73106566B for ; Wed, 16 Sep 2009 18:21:41 +0000 (UTC) (envelope-from ccowart@rescomp.berkeley.edu) Received: from hal.rescomp.berkeley.edu (hal.Rescomp.Berkeley.EDU [169.229.70.150]) by mx1.freebsd.org (Postfix) with ESMTP id 057DF8FC12 for ; Wed, 16 Sep 2009 18:21:40 +0000 (UTC) Received: by hal.rescomp.berkeley.edu (Postfix, from userid 1225) id 6FEB7597D85; Wed, 16 Sep 2009 11:21:40 -0700 (PDT) Date: Wed, 16 Sep 2009 11:21:40 -0700 From: Chris Cowart To: Tom Worster Message-ID: <20090916182139.GJ37291@hal.rescomp.berkeley.edu> Mail-Followup-To: Tom Worster , Mel Flynn , freebsd-questions@freebsd.org References: <200909161935.50758.mel.flynn+fbsd.questions@mailing.thruhere.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="pP0ycGQONqsnqIMP" Content-Disposition: inline In-Reply-To: Organization: RSSP-IT, UC Berkeley User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: passing options thru '/etc/rc.d/foo start' 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: Wed, 16 Sep 2009 18:21:41 -0000 --pP0ycGQONqsnqIMP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Tom Worster wrote: > thanks, Mel, that's good to know. >=20 > i think your suggestion of modifying rc.conf will turn out to be a tidy > solution for me. You could also just put: sshd_flags=3D"-o X11Forwarding=3Dno" into your /etc/rc.conf file. Pretty much all of the rc.d scripts support the use of NAME_flags being defined in /etc/rc.conf, which are passed as extra commandline arguments to the daemon. You should generally check /etc/defaults/rc.conf to see what you might be clobbering. A small number of scripts may override this feature from the library, breaking this method, but it's pretty widely supported. --=20 Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley --pP0ycGQONqsnqIMP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iQIcBAEBAwAGBQJKsSyzAAoJEC8b9sM8ejXtAJ0P/2KY4mfn9X8nsBUkbMrb5MbL JskIcsEtMmcUtVlV75w68PSwwfAMAVEhDoRgrI0TlKd58LOhuaMaYYTYNN3Dd6/Q 3JtxYzmNB5Dqbzv0aZuz6/jr8TkGnMeI74t6FqTeBqa+esQvztTBLLkVTgka+eGV gvhqbFUWzgBTmHapb72rNEOCao1D2bUcrpSbhzqCgY2tE6EY7RTNNV4LOdFYrmDS 8JakGmSnmxZ8cQWGWOYFJXLZcPKTbgR3pULSFY1+H5gVwYPkCpyYFXvVaEPQDSJN /L1hfgllG9f4lrRjqKD9OxCjLiwV+G2FFMOGGr1e5FUcWrVgsUvQ8uxA5hY7CmF4 iYQINQgets1titfi6s0P7DZFbEsJY8WFJfZgsgHyMATNy1r6pndQ6am9qzXzh8w1 QY5fFyNfgPPB8N6peNXxRX0eznzT7qgeTh9j60gLaqDpdyfmoUDmQlhk9hS7UGag r9viNZibd+EKqdg2puhpjftkpIujxSc2Nwkn3QLyOX3DRjC7rJwZ/uUh0QzBrXGF 95a+8C6GOs9MxR7Thf2gFONh20Q7462LjQH+NzHwAY7N3roKyDEUlIIGPE4P+U4K e4Wwd1VI57sP3htuDe8n/+0H/e175LEncPngJ0mzrO11Jx/jJs5f+NGMkpVO8lIU ltTUcuk7BMo9/80cq//S =qMlk -----END PGP SIGNATURE----- --pP0ycGQONqsnqIMP--