From owner-freebsd-questions Mon Jul 27 11:08:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA03213 for freebsd-questions-outgoing; Mon, 27 Jul 1998 11:08:03 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pau-amma.whistle.com (s205m64.whistle.com [207.76.205.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA03184 for ; Mon, 27 Jul 1998 11:07:59 -0700 (PDT) (envelope-from dhw@whistle.com) Received: (from dhw@localhost) by pau-amma.whistle.com (8.8.8/8.8.7) id LAA25585; Mon, 27 Jul 1998 11:06:11 -0700 (PDT) (envelope-from dhw) Date: Mon, 27 Jul 1998 11:06:11 -0700 (PDT) From: David Wolfskill Message-Id: <199807271806.LAA25585@pau-amma.whistle.com> To: questions@FreeBSD.ORG, stewart@wakko.visint.co.uk Subject: Re: Comments in the NIS master.passwd file In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Date: Mon, 27 Jul 1998 18:05:25 +0100 (BST) >From: Stewart Morgan > We've got a rather large master.passwd file which we used to quite >happily break up into managable blocks with comments (ie lines beginning with >a '#'). This works fine with the password routines like pwd_mkdb from >2.2.6/7-stable. > Recently, we've moved over to NIS which moans about the comments, lots! >The question is, why hasn't NIS been patched to ignore commenting like >practically every other configuration file? Or has this already been delt with >in -current and if not, could it be? Dunno about -current, but it seems to me that if this is an issue for you, a small modification to /var/yp/Makefile (to strip the "comments" from the MASTER file before doing anything else with the information) would seem to be in order. david -- David Wolfskill UNIX System Administrator dhw@whistle.com voice: (650) 577-7158 pager: (650) 371-4621 david -- David Wolfskill UNIX System Administrator dhw@whistle.com voice: (650) 577-7158 pager: (650) 371-4621 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message