diff options
author | andreas <andreas@FreeBSD.org> | 2000-11-01 13:30:24 +0000 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 2000-11-01 13:30:24 +0000 |
commit | d2e6e70179cea1b96dd4b357e9697512e61698b2 (patch) | |
tree | b771ea805e033a659422d02b6988bc28b0b2a488 /sys/compat/linux/linux_socket.c | |
parent | add1652da4f0c461be24168f9799c5662ccfc087 (diff) | |
download | FreeBSD-src-d2e6e70179cea1b96dd4b357e9697512e61698b2.zip FreeBSD-src-d2e6e70179cea1b96dd4b357e9697512e61698b2.tar.gz |
fixes:
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
Diffstat (limited to 'sys/compat/linux/linux_socket.c')
0 files changed, 0 insertions, 0 deletions