lpd

Edward Glowacki glowack2@msu.edu
Fri, 24 Aug 2001 08:37:32 -0400


Quoted from Joseph Glass on Thu, Aug 23, 2001 at 09:22:47PM -0400:
> Does anyone know if there is a way to start lpd to make it work locally 
> but not listen on the network (similar to syslogd -ss on FreeBSD)?  I'm 
> using RedHat 7.1.
> 
> Joe Glass

On FreeBSD:

> man lpd
<snip>
-p      The -p flag causes lpd not to open an Internet listening socket.
<snip>

There might be something similar on Red Hat, you'll have to check.

Your message prompted me to look at my setup.  I'm running LPRng,
and it's opening a socket.  A bit of searching led to an answer at:
http://lists.dulug.duke.edu/pipermail/dulug/2001-May/002686.html


the answer is: 

add the following line to /etc/lpd.conf: 
forcelocalhost@


Gotta run,
ED
-- 
Edward Glowacki			glowack2@msu.edu
Michigan State University	
"...a partial solution to the right problem is better than a complete
solution to the wrong one." (http://uiweb.com/issues/issue14.htm)