summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr/common_source
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2014-04-20 22:35:11 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2014-04-20 22:35:11 +0000
commit7ab1e70634a5a1221c1f3ea53de7e059b31f8960 (patch)
treee9a1cae6bd3a198bd8a4fa0c51e2303babf71698 /usr.sbin/lpr/common_source
parentff413308c99ccc274b4d6cd5c18d243d4dd60071 (diff)
Prevent lpd(8) from looking into hosts.equiv.
Access control is now done only using hosts.lpd. See lpd(8) for more information about the format of this file. "seems reasonable" tedu@ "looks good" deraadt@ ok sthen@
Diffstat (limited to 'usr.sbin/lpr/common_source')
-rw-r--r--usr.sbin/lpr/common_source/pathnames.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/lpr/common_source/pathnames.h b/usr.sbin/lpr/common_source/pathnames.h
index 303ff746fb0..92bc6e43cc8 100644
--- a/usr.sbin/lpr/common_source/pathnames.h
+++ b/usr.sbin/lpr/common_source/pathnames.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pathnames.h,v 1.4 2003/06/02 23:36:53 millert Exp $ */
+/* $OpenBSD: pathnames.h,v 1.5 2014/04/20 22:35:10 ajacoutot Exp $ */
/* $NetBSD: pathnames.h,v 1.5 1995/11/28 19:43:27 jtc Exp $ */
/*
@@ -36,7 +36,6 @@
#define _PATH_DEFDEVLP "/dev/lp"
#define _PATH_DEFSPOOL "/var/spool/output/lpd"
-#define _PATH_HOSTSEQUIV "/etc/hosts.equiv"
#define _PATH_HOSTSLPD "/etc/hosts.lpd"
#define _PATH_MASTERLOCK "/var/run/lpd.pid"
#define _PATH_PR "/usr/bin/pr"