aboutsummaryrefslogtreecommitdiff
path: root/etc
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
parent23bd68a4261836dd20f7d0a5bc886b27544b2642 (diff)
Notes
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile2
-rw-r--r--etc/newsyslog.conf1
-rw-r--r--etc/syslog.conf3
3 files changed, 5 insertions, 1 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 3823a34864ee1..0bea4650d1506 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 \
diff --git a/etc/newsyslog.conf b/etc/newsyslog.conf
index f743c58a475b5..8c70e94ee3e98 100644
--- a/etc/newsyslog.conf
+++ b/etc/newsyslog.conf
@@ -10,6 +10,7 @@
# logfilename [owner:group] mode count size when [ZJB] [/pid_file] [sig_num]
/var/log/cron 600 3 100 * Z
/var/log/amd.log 644 7 100 * Z
+/var/log/authentication.log 600 7 100 * Z
/var/log/kerberos.log 600 7 100 * Z
/var/log/lpd-errs 644 7 100 * Z
/var/log/maillog 640 7 * @T00 Z
diff --git a/etc/syslog.conf b/etc/syslog.conf
index 7a3e843441b76..0c33d9737471b 100644
--- a/etc/syslog.conf
+++ b/etc/syslog.conf
@@ -7,7 +7,8 @@
# Consult the syslog.conf(5) manpage.
*.err;kern.debug;auth.notice;mail.crit /dev/console
*.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages
-security.*;auth.info /var/log/security
+security.* /var/log/security
+auth.info;authpriv.info /var/log/authentication.log
mail.info /var/log/maillog
lpr.info /var/log/lpd-errs
cron.* /var/log/cron