Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 1998 11:06:11 -0700 (PDT)
From:      David Wolfskill <dhw@whistle.com>
To:        questions@FreeBSD.ORG, stewart@wakko.visint.co.uk
Subject:   Re: Comments in the NIS master.passwd file
Message-ID:  <199807271806.LAA25585@pau-amma.whistle.com>
In-Reply-To: <Pine.BSF.3.96.980727175444.13037A-100000@wakko.visint.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Mon, 27 Jul 1998 18:05:25 +0100 (BST)
>From: Stewart Morgan <stewart@wakko.visint.co.uk>

>	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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807271806.LAA25585>