rcolebaugh / rpms / bash

Forked from rpms/bash 2 years ago
Clone

Blame fb-Configure-bash-to-log-the-commands-to-authpriv.patch

7bac1e
Index: b/config-top.h
7bac1e
===================================================================
7bac1e
--- a/config-top.h
7bac1e
+++ b/config-top.h
7bac1e
@@ -117,9 +117,9 @@
7bac1e
 
7bac1e
 /* Define if you want each line saved to the history list in bashhist.c:
7bac1e
    bash_add_history() to be sent to syslog(). */
7bac1e
-/* #define SYSLOG_HISTORY */
7bac1e
+#define SYSLOG_HISTORY
7bac1e
 #if defined (SYSLOG_HISTORY)
7bac1e
-#  define SYSLOG_FACILITY LOG_USER
7bac1e
+#  define SYSLOG_FACILITY LOG_AUTHPRIV
7bac1e
 #  define SYSLOG_LEVEL LOG_INFO
7bac1e
 #  define OPENLOG_OPTS LOG_PID
7bac1e
 #endif