From owner-freebsd-questions Tue Jan 28 11:39: 8 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1635637B401 for ; Tue, 28 Jan 2003 11:39:07 -0800 (PST) Received: from mail.rpi.edu (mail.rpi.edu [128.113.2.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 704C443F75 for ; Tue, 28 Jan 2003 11:39:06 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id h0SJd1PH254982; Tue, 28 Jan 2003 14:39:02 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <3E36C9CD.2050003@potentialtech.com> References: <1043776768.8225.1.camel@donburi> <3E36C9CD.2050003@potentialtech.com> Date: Tue, 28 Jan 2003 14:39:00 -0500 To: Bill Moran , Mark From: Garance A Drosihn Subject: Re: Managing /etc/hosts.lpd?? Cc: questions@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 1:19 PM -0500 1/28/03, Bill Moran wrote: >Mark wrote: >> Is there a better way to manage lpd permissions than >>specifying individual hosts in /etc/hosts.lpd? I have a >>heterogeneous network here (there are a few Winder's machines >>in addition to a bunch of Unix machines) that has a bunch of >>machines on it, all of which are listed in a local DNS server. >> What I'd really like to be able to do is just say: >>"Allow any machine from this local domain to connect to lpd." >> >> The documentation for hosts.lpd doesn't help out on >>format here, and the source code for lpd.c seems to confirm >>that there is, indeed, no wildcarding supported. >> >> Any other options? > >I wouldn't normally chime in like this, but I want to add a >"me too" here. > >In my case it would be perfectly acceptable to eliminate all >host checking on the part of LPD, since the LPD port is >firewalled off from everything but our local network anyway. > >Haven't been able to find any way to do this (or what Mark >asks for) in the docs anywhere. Am I missing something? The docs do not admit this, but iirc you can list a netgroup in your /etc/hosts.lpd file. Unfortunately, that is not a useful or convenient option for many users. I have been thinking I should add simple pattern-matching support, but I haven't decided exactly how I'd like that to work. I will move that higher in my list of things to do to lpr. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message