From owner-freebsd-questions Mon Jul 27 12:25:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA19816 for freebsd-questions-outgoing; Mon, 27 Jul 1998 12:25:30 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA19674 for ; Mon, 27 Jul 1998 12:24:33 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail.siemens.de (salomon.siemens.de [139.23.33.13]) by david.siemens.de (8.9.1/8.9.1) with ESMTP id VAA07683 for ; Mon, 27 Jul 1998 21:23:51 +0200 (MET DST) Received: from curry.mchp.siemens.de (daemon@curry.mchp.siemens.de [146.180.31.23]) by mail.siemens.de (8.9.1/8.9.1) with ESMTP id VAA10437 for ; Mon, 27 Jul 1998 21:23:50 +0200 (MET DST) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.8.8/8.8.8) id VAA01419 for ; Mon, 27 Jul 1998 21:23:52 +0200 (CEST) From: Andre Albsmeier Message-Id: <199807271923.VAA03906@internal> Subject: Re: Comments in the NIS master.passwd file In-Reply-To: <199807271806.LAA25585@pau-amma.whistle.com> from David Wolfskill at "Jul 27, 98 11:06:11 am" To: dhw@whistle.com (David Wolfskill) Date: Mon, 27 Jul 1998 21:23:47 +0200 (CEST) Cc: questions@FreeBSD.ORG, stewart@wakko.visint.co.uk X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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. I tried this also a while ago but fell over rpc.yppasswdd... -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message