From owner-cvs-all Wed Nov 1 5:30:29 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C3BDB37B479; Wed, 1 Nov 2000 05:30:25 -0800 (PST) Received: (from andreas@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA23892; Wed, 1 Nov 2000 05:30:25 -0800 (PST) (envelope-from andreas@FreeBSD.org) Message-Id: <200011011330.FAA23892@freefall.freebsd.org> From: Andreas Klemm Date: Wed, 1 Nov 2000 05:30:25 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc printcap X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG andreas 2000/11/01 05:30:25 PST Modified files: etc printcap Log: 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 in private e-mail Revision Changes Path 1.11 +29 -19 src/etc/printcap To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message