Using Debian Lenny
I am new to printing with Linux and would like some help with CUPS.
I have CUPS set up to work with my printer.
I read through the documentation, but still have some problems.
1. How should I configure cupsd.conf for security?
I found this article:
Quote:
Portwalling
* By default, cups will listen on every interface. Unless you
want to offer your printer to the world, you must block this.
Although you can firewall this (and that is a good idea anyway),
you can also not have cups listen on your Internet connection.
This also prevents any possibility of a root exploit from the
Internet. Of course, you still have internal crackers to worry
about...
* In cups.conf, comment out the lines:
Port 80
Port 631
* Replace them with:
Listen 127.0.0.1:631
Listen lan_ip_address:631
Listen 127.0.0.1:80
Listen lan_ip_address:80
* Still leaves a UDP port 631 open to the world though. The
simplest way to close this port is by turning browsing off, but
it may cause problems if you have other cups servers (and maybe
clients?). The line for this is:
Browsing off
* Another way to limit access to UDP on port 631, but less
secure, is to add the following lines:
BrowseAddress lan_ip_broadcast_address
BrowseAddress 127.0.0.1
BrowseAllow from 127.0.0.1
BrowseAllow from lan_ip_subnet (i.e. 192.168.1.0/24)
BrowseOrder deny,allow
|
Is this good for my needs?
I use my computer for a desktop. At present I have one printer,
but may add another. I don't plan to use it over the Internet.
Do I need to encrypt to hide the user name and password for authentication;
Doesn't Debian do this already?
2. I'm unsure about these items in the web browser for CUPS:
* Classes
* Publish Printers
* queue
* Rss subscription
3.Is there a good GUI for Cups? Is Xpp good for this?
In the Debian Wiki it says:
Quote:
xpp is designed to be able to take the same command-line arguments as
BSD-lpr and SysV-lp so most apps won't realize the difference if you create a
symbolic link from /usr/bin/lpr (or /usr/bin/lp) to /usr/bin/xpp. This way,
whenever an application sends off a print job to the lpr (or lp) program, xpp
will launch its GUI so that you can select the options that you would like for
this job.
|
How do I create a symbolic link between programs?
When I opened Xpp it said Printer:destination not available.
4. Can I adjust the text size on text, pdf or html files with Cups or do I need
another program for this?