1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
Commit Graph

11 Commits

Author SHA1 Message Date
Andreas Klemm
2a77f569ef 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 Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Andrey A. Chernov
0b9bd7b7e8 Add commented out example of Russian output filter usage 1998-02-04 12:09:06 +00:00
Steve Price
4124d193d4 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 Wemm
79403fe300 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
Jordan K. Hubbard
1130b656e5 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 Wunsch
f738f84d69 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
Jordan K. Hubbard
f1e629763a /dev/lp -> /dev/lpt0 1995-07-25 01:52:23 +00:00
Andreas Schulz
196c5f3921 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
Rodney W. Grimes
6540ab68c8 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
Rodney W. Grimes
1bf9d5d951 Initial import of 386BSD 0.1 othersrc/etc 1993-06-20 13:41:45 +00:00