aboutsummaryrefslogtreecommitdiff
path: root/lib/libopie
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libopie')
-rw-r--r--lib/libopie/Makefile3
-rw-r--r--lib/libopie/opieaccess13
2 files changed, 16 insertions, 0 deletions
diff --git a/lib/libopie/Makefile b/lib/libopie/Makefile
index 4507d252ea9a..2dda575e94ef 100644
--- a/lib/libopie/Makefile
+++ b/lib/libopie/Makefile
@@ -2,6 +2,9 @@
#
# $FreeBSD$
#
+
+CONFS= opieaccess
+CONFSMODE= 600
PACKAGE=lib${LIB}
OPIE_DIST?= ${SRCTOP}/contrib/opie
DIST_DIR= ${OPIE_DIST}/${.CURDIR:T}
diff --git a/lib/libopie/opieaccess b/lib/libopie/opieaccess
new file mode 100644
index 000000000000..ed57ef13a33a
--- /dev/null
+++ b/lib/libopie/opieaccess
@@ -0,0 +1,13 @@
+# $FreeBSD$
+#
+# This file controls whether UNIX passwords are to be permitted. Rules
+# are matched in order, and the search terminates when the first matching
+# rule has been found. Default action is "deny". See opieaccess(5) for
+# more information.
+#
+# Each rule has the form:
+#
+# permit address netmask
+# deny address netmask
+#
+#permit 127.0.0.1 255.255.255.255