summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-08-14 23:38:31 +0000
committerache <ache@FreeBSD.org>2001-08-14 23:38:31 +0000
commit21085f99c8e23f6f536755912eb9fcad837cdddf (patch)
treef49c4258bc9874a242c0a15d25b67c0cf0c03efe /etc
parentf4b75f5bb2788c0eb99520c41162bef37f41dd58 (diff)
downloadFreeBSD-src-21085f99c8e23f6f536755912eb9fcad837cdddf.zip
FreeBSD-src-21085f99c8e23f6f536755912eb9fcad837cdddf.tar.gz
Add/install /etc/opieaccess skeleton
Approved by: markm
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile4
-rw-r--r--etc/opieaccess12
2 files changed, 14 insertions, 2 deletions
diff --git a/etc/Makefile b/etc/Makefile
index a7cc5a7..0081912 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -74,7 +74,7 @@ distribution:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
${DESTDIR}/var/log/cron; \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 \
- master.passwd ${DESTDIR}/etc; \
+ opieaccess master.passwd ${DESTDIR}/etc; \
( cd ${.CURDIR}/periodic; ${MAKE} install ); \
( cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall ); \
( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \
@@ -200,7 +200,7 @@ distrib-dirs:
etc-examples:
(cd ${.CURDIR}; \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${BIN1} ${BIN2} \
- ${DESTDIR}/usr/share/examples/etc; \
+ opieaccess ${DESTDIR}/usr/share/examples/etc; \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 defaults/rc.conf \
${DESTDIR}/usr/share/examples/etc/defaults; \
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 defaults/make.conf \
diff --git a/etc/opieaccess b/etc/opieaccess
new file mode 100644
index 0000000..24bd517
--- /dev/null
+++ b/etc/opieaccess
@@ -0,0 +1,12 @@
+# $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
+#
OpenPOWER on IntegriCloud