Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2003 14:39:00 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Bill Moran <wmoran@potentialtech.com>, Mark <mw@lanfear.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Managing /etc/hosts.lpd??
Message-ID:  <p05200f27ba5c89a92c42@[128.113.24.47]>
In-Reply-To: <3E36C9CD.2050003@potentialtech.com>
References:  <1043776768.8225.1.camel@donburi> <3E36C9CD.2050003@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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