Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!cos!asp From: asp@COS.COM (Andrew S. Partan) Newsgroups: comp.unix.questions Subject: Re: Printing from non-trusted hosts Message-ID: <451@cos.COM> Date: Wed, 23-Sep-87 16:13:01 EDT Article-I.D.: cos.451 Posted: Wed Sep 23 16:13:01 1987 Date-Received: Sat, 26-Sep-87 04:16:31 EDT References: <437@cos.COM> Organization: Corporation for Open Systems, McLean, VA Lines: 38 Keywords: printing hosts.equiv not-trusted Summary: change "/etc/hosts.equiv" in /usr/lib/lpd to "/etc/hosts.print" In article <437@cos.COM>, asp@COS.COM (Andrew S. Partan) I wrote: > The problem is that lpd only allows machines listed in the > /etc/host.equiv file to queue requests. > > Is there any way to set things up so that lpd will accept print > requests from any machine, and still have some machines be explicitly > not trusted? With thanks to all of the people that responded, I got lpd to allow printing from untrusted hosts. A SUGGESTION: Several people suggested that lpd might use a file called /etc/hosts.lpd to list the hosts that printing was allowed from. Unfortunately my lpd (from Sun 3.3) does not have that file. This seems to be available in BSD 4.3 (only?). THE SOLUTION: Several other people suggested editing (with an editor that can edit binary file (like emacs)) /usr/lib/lpd and replacing "/etc/hosts.equiv" with some other file name (like "/etc/hosts.print"). I did this, listed all hosts in /etc/hosts.print, and printing from non-trusted hosts now works like a charm. Thanks to all who responded: jaap@cwi.nl (Jaap Akkerhuis) ...!decwrl.dec.com!spar!SENTRY!johnb (J. Bashinski) matt@oddjob.uchicago.edu (Matt Crawford) eirik@crl.TEK.COM (Eirik Fuller) dave@rosevax.Rosemount.COM (David R. Marquardt) npg@sun.com (Neil Groundwater - Sun Consulting) kusumoto@ etl.jp (KUSUMOTO Hiroyuki) Thanks again to the help from people on the net. -- --asp (Andrew Partan @ Corporation for Open Systems) -- asp@cos.com -- {uunet, sundc, decuac, hqda-ai, hadron}!cos!asp