Re: remote printing permissions [solved]
To solve my problem of remote printing, it was very simple (once
I found out what I was doing).
Edit the /etc/lpd.perms so that it allows remote print job
Find these following lines in the file:
# reject remote prints from arbitrary hosts
REJECT SERVICE=XRPQ NOT SERVER
Replace them with the following lines:
# accept remote prints from arbitrary hosts
ACCEPT SERVICE=XRPQ NOT SERVER
Most importantly of all you need to re-run the printer spooler.
If you have lprng installed (instead of lpr) then you have to do
You may also have to do:
and then everything should be working...
It is not needed to edit /etc/hosts.lpd or /etc/hosts.equiv
Hope this helps you all out.
> On 14 Mar, Alec Smith wrote:
> > You can use individual IP addresses -- Mine is
> > 220.127.116.11
> > 18.104.22.168
> > You can also use something like 130.108.229 to indicate that an entire
> > subnet has access. The general format is something similar, but not
> > identical to hosts.allow/hosts.deny.
> > Other than that, there really isn't all that much.
> > Be sure and restart lpd after editing this file... In /etc/init.d do a
> > ./lpd restart Without doing this, your changes will not take effect until
> > the machine is rebooted.