summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-04-20 18:11:45 +0000
committertedu <tedu@openbsd.org>2014-04-20 18:11:45 +0000
commite22b9141d50ba1a5e844bf73034e54fa8ba67f78 (patch)
tree0b83d55be21294b7dcba2d71bc4cb0fdc05c1632
parenthosts.equiv is a ghost from bsd past (diff)
downloadwireguard-openbsd-e22b9141d50ba1a5e844bf73034e54fa8ba67f78.tar.xz
wireguard-openbsd-e22b9141d50ba1a5e844bf73034e54fa8ba67f78.zip
clarify a bit about hosts.lpd
-rw-r--r--usr.sbin/lpr/lpd/lpd.810
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/lpr/lpd/lpd.8 b/usr.sbin/lpr/lpd/lpd.8
index e48d7d188bf..df7079423aa 100644
--- a/usr.sbin/lpr/lpd/lpd.8
+++ b/usr.sbin/lpr/lpd/lpd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: lpd.8,v 1.24 2014/04/19 18:44:25 tedu Exp $
+.\" $OpenBSD: lpd.8,v 1.25 2014/04/20 18:11:45 tedu Exp $
.\" $NetBSD: lpd.8,v 1.23 2002/02/08 01:38:50 ross Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)lpd.8 8.3 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: April 19 2014 $
+.Dd $Mdocdate: April 20 2014 $
.Dt LPD 8
.Os
.Sh NAME
@@ -159,9 +159,11 @@ port from
.Pp
Access control is provided by two means.
First, all requests must come from one of the machines listed in the file
-.Pa /etc/hosts.equiv
+.Pa /etc/hosts.lpd
or
-.Pa /etc/hosts.lpd .
+.Pa /etc/hosts.equiv ,
+one hostname per line.
+A plus "+" may be used as a wildcard to grant access to all hosts.
Second, if the
.Dq rs
capability is specified in the