summaryrefslogtreecommitdiff
path: root/sysconf
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2011-05-25 14:16:11 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2011-05-25 15:03:08 -0700
commit31f3d30599b976bfd033b7c69b2aa1394541d879 (patch)
tree8f49e7a45a69543f8166651e7856bc4efb961ab0 /sysconf
parent44a842e60437bd3912e5a4fd1fe35b196307efa7 (diff)
downloadvyatta-cfg-system-31f3d30599b976bfd033b7c69b2aa1394541d879.tar.gz
vyatta-cfg-system-31f3d30599b976bfd033b7c69b2aa1394541d879.zip
Always log authorization messages
Bug 7095 Always keep /var/log/auth.log to allow for 'show log authorization'
Diffstat (limited to 'sysconf')
-rw-r--r--sysconf/rsyslog.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysconf/rsyslog.conf b/sysconf/rsyslog.conf
index 919df901..56c7e15c 100644
--- a/sysconf/rsyslog.conf
+++ b/sysconf/rsyslog.conf
@@ -49,3 +49,13 @@ $Umask 0022
# Include all config files in /etc/rsyslog.d/
#
$IncludeConfig /etc/rsyslog.d/*.conf
+
+###############
+#### RULES ####
+###############
+
+# Log authorization failure messages
+auth,authpriv.* /var/log/auth.log
+
+# Emergencies are sent to everybody logged in.
+*.emerg *