Running cupsd on startup
After upgrading to Slack 10.2, it seems cupsd is no longer started for me on boot. Where is the "correct place" to put this? I can't find it in /etc/rc.d. Also, is there a way to allow it to print (from the single computer you're using it on), but without it opening up a port with ipp listening for outside connections?
|
You can either put it in /etc/rc.d (make sure it's executable), or you can put a link to it in rc.local
As to your second question ... I have no idea :) |
Got it, thanks. I would like to know about that port though if anyone has ideas. It doesn't seem like I should have to open up to the outside world just to send files to my printer.
|
There are some settings in /etc/cups/cupsd.conf that might do what you want. Have a look at `man cupsd.conf` for Browsing and in the conf file itself for BrowseAllow and BrowseDeny
|
you can check /etc/cups/cupsd.conf
for config options iirc, it denies all but localhost by default |
Quote:
# Listen to (Port/Listen) Comment out all line in that section by adding a hash mark (#) at the beginning of the line. Then add thee following in that same section: Listen 127.0.0.1:631 This command will limit cups to listening only on port 631 of the box the printer is attached. To make these changes effective immediately, as root type: /etc/rc.d/rc.cups restart if the rc.cups script is not executable type: sh /etc/rc.d/rc.cups restart Before making the changes effective, from the command line type: nmap -v localhost Restart the cups daemon and then run nmap again. You should see a difference. |
All times are GMT -5. The time now is 11:33 AM. |