a) the configured default printer entry might turn out to become a security hole
Although lpd isn't enabled by default in FreeBSD 4 and later versions
bad things might happen because of a simple copy and paste failure:
- fill up root-fs, if /dev/lpt0 doesn't exist
- fill up the spool dir (either root-fs or var-fs) if machine hadn't been
designed as print server
Therefore best decision: if people want printing, then configure both
1. /etc/rc.conf
2. /etc/printcap
the default entry wouldn't have served well all tastes and needs anyway...
design of most of our config files is, to have commented out suggestions
if a service is not active.
b) [Garance]
fix old and wrong documentation:
input filters are possible even if you print to a remote printer
this makes FreeBSDs implementation of lpd currently the best without
having to switch to port monster LPRng ...
c) fix pointer to wrong handbook section for a longer time .. so I doesn't fix the number
I'm only referring to the printing section, otherwise this would have to be fixed several
times, if the chapters should be reordered again ...
d) typo: chose -> choose
Submitted by: me and some suggestions by Garance
Approved by: Eivind and Garance A Drosihn <drosih@rpi.edu> in private e-mail
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
default, so there's no use in running it without any printer
definition in printcap. Also added a bunch of hints about the printer
setup, to guide the admin about the printer setup (handbook,
"apsfilter"), and a commented-out sample setup for a remote printer.
In the same line, add /var/spool/lpd/output to BSD.var.dist since it
is referred to by the "lp" entry in printcap.