Re: lprng and disabling network printer
Pere Camps wrote:
> How do you disable the 'printer' port for remote connections if
> you're using lprng?
Edit /etc/lpd.perms so it has a couple of lines saying sth. like this
# reject all connections from remote machines
ACCEPT SERVICE=X HOST=localhost
REJECT SERVICE=X
and make sure that you have no other `SERVICE=X' lines in that file.
Also, these lines should appear before the `DEFAULT' line. Now you can do
a `/etc/init.d/lprng reload', and remote connections will be blocked.
--
/'"`\ zzzZ | My PGP Public Key is available at:
( - - ) | <http://home1.inet.tele.dk/renehl/>
--oooO--(_)--Oooo------------------------------------------
Don't ya just hate it when there's not enough room to fin
Reply to: