Subject: Re: lpd/hosts.lpd archaic?
To: BSD Current Users <current-users@netbsd.org>
From: Alan Barrett <apb@cequrux.com>
List: current-users
Date: 11/20/2002 12:52:38
On Tue, 19 Nov 2002, Greywolf wrote:
> Is it me, or does anyone else find the requirement and specification for
> hosts.lpd to be archaic?

It's rather poorly documented (you have to guess that the format
described in hosts.equiv(5) also applies to hosts.lpd), but you can use
netgroups in /etc/hosts.lpd, like this:

	+@printer-access-group
	-

and then you define the netgroup in /etc/netgroup.

> In particular, it would be really nice for hosts.lpd to be able to
> handle a network/mask combination, or some other method of access
> control for lpd.

If you add this, I suggest extending the netgroup(5) syntax rather than
a special case for hosts.lpd.

--apb (Alan Barrett)