Commit Graph

11 Commits

Author SHA1 Message Date
andreas
d2e6e70179 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
2000-11-01 13:30:24 +00:00
peter
289c0d262f $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
ache
504e08b598 Add commented out example of Russian output filter usage 1998-02-04 12:09:06 +00:00
steve
aea15c3be8 Suppress banner pages by default and add a note describing how to
turn them back on.

PR:		5226
1998-01-04 17:59:24 +00:00
peter
f173325ac8 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
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.
1997-01-14 07:20:47 +00:00
joerg
9f6e7c4a28 Uncomment the "raw" lp entry in /etc/printcap. We start lpd by
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.
1996-10-13 16:52:40 +00:00
jkh
0594919895 /dev/lp -> /dev/lpt0 1995-07-25 01:52:23 +00:00
ats
9d488e0f9a Change the example in the printcap file for the spooling dir from
/var/spool/lpd to /var/spool/output/lpd. This is the new location
where the lpd-system now searches for files.
1994-12-10 22:46:25 +00:00
rgrimes
8be3671304 lp device was setup and enabled, changed it to be commented out. This caused
lpd to run on system where it had not been configured.
1993-07-19 18:58:09 +00:00
rgrimes
241ccdeaf3 Initial import of 386BSD 0.1 othersrc/etc 1993-06-20 13:41:45 +00:00