Last week I posted a question about why it was that no other machine
on my network could print to a line printer connected to a serial port
of a server machine. I lamented that I was able to do this with other
machines and other printers, but not with this line printer. I told you
all that I fiddled with the printcaps, added machine names to the
/.rhosts file, played with lpc and so on, but to no avail.
Thanks to the net, here is the fix. I needed an /etc/hosts.lpd file
that contains the names of all the legal remote machines (those that
I want to be able to print to the local printer). Further, I was warned
that the /.rhosts file is *NOT* used for printing, and putting machine
names in there is a terrible security risk (as it happens, these
other machines are all in my private workgroup, and I need seemless
root access across all of them, so the names are OK in that respect).
What bothers me is that why did this work for certain printers on
certain machines, but not for this most recent addition? The nearest I
can figure is that somehow we were running the automatic setup processes
the first time, named all the machines initially, and then lprsetup
automatically does the "dirty work" of setting up the permissions.
Oh well, good job people, the problem is solved! :-) Thanks to
Jim Neeland
Helgi Viggosson
Andrew Prusek
Rudolf Gabler
and many others whose advice keeps trickling in.
Thanks,
Russ Fink
----------------------------------------+----------------------------------
Russ Fink, Loral Aerosys (301-805-0501) | 7375 Executive Place Suite 101
email: rfink_at_hornet.aerosys.loral.com | Seabrook, MD 20706 USA
----------------------------------------+----------------------------------
G L O B A L S T A R -- THE solution for worldwide voice/data communications
Received on Tue May 30 1995 - 09:19:04 NZST