summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2020-09-13 11:29:53 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2020-09-13 11:29:53 +0000
commit315b9a3be9c518935dea148d902a3b538e998ee1 (patch)
tree5aaa7bcb3f9e945522f2037b1b1d826e63ffc586 /etc
parentb809d09188cd16af50f3e1c4cd38478d659c865a (diff)
Install /etc/examples/login_ldap.conf with proper mode and ownership.
tweak from deraadt@ ok martijn@ tb@
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 8799fd1d9ca..d126e2c8b95 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.479 2020/09/13 10:03:46 ajacoutot Exp $
+# $OpenBSD: Makefile,v 1.480 2020/09/13 11:29:52 ajacoutot Exp $
.include <bsd.own.mk>
@@ -164,6 +164,8 @@ distribution-etc-root-var: distrib-dirs
${INSTALL} -c -o root -g wheel -m 600 ${EXAMPLES_600} \
${DESTDIR}/etc/examples; \
chgrp operator ${DESTDIR}/etc/examples/chio.conf
+ chgrp auth ${DESTDIR}/etc/examples/login_ldap.conf
+ chmod 0640 ${DESTDIR}/etc/examples/login_ldap.conf
cd signify; \
${INSTALL} -c -o root -g wheel -m 644 *.pub \
${DESTDIR}/etc/signify