aboutsummaryrefslogtreecommitdiff
path: root/etc/Makefile
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-03-11 19:26:29 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-03-11 19:26:29 +0000
commit0ec9497e58f695b0fd67fffbb8c4d2f0673aa463 (patch)
treea6f7d85ace70ee576c3d9952d27311ddde644eb1 /etc/Makefile
parent23bd68a4261836dd20f7d0a5bc886b27544b2642 (diff)
downloadsrc-0ec9497e58f695b0fd67fffbb8c4d2f0673aa463.tar.gz
src-0ec9497e58f695b0fd67fffbb8c4d2f0673aa463.zip
Clean up logging of security information a bit:
o Introduce /var/log/authentication.log, which will be the target for auth.info and authpriv.info by default. Rotate on the same schedule as most other logs. Create at installation. o Remove logging of auth.info from /var/log/security.log, which will return to being only for security feature subsystems (such as ipfw, and so on). This creates a special authentication log, which can now be searched by scripts for authentication events.
Notes
Notes: svn path=/head/; revision=92099
Diffstat (limited to 'etc/Makefile')
-rw-r--r--etc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 3823a34864ee..0bea4650d150 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -130,6 +130,8 @@ distribution:
${DESTDIR}/etc/dumpdates
${INSTALL} -c -o nobody -g ${BINGRP} -m 644 /dev/null \
${DESTDIR}/var/db/locate.database
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \
+ ${DESTDIR}/var/log/authentication.log
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${DESTDIR}/var/log/lpd-errs
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 640 /dev/null \