2010-11-16 14:35:27 +01:00
|
|
|
From f2ea0c33d8c25ee40e7fe7a16d0994c8069bc120 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Ludwig Nussel <ludwig.nussel@suse.de>
|
|
|
|
Date: Tue, 17 Aug 2010 13:22:01 +0200
|
|
|
|
Subject: [PATCH 3/7] log all su attempts
|
|
|
|
|
|
|
|
---
|
|
|
|
src/su.c | 3 +++
|
|
|
|
1 files changed, 3 insertions(+), 0 deletions(-)
|
|
|
|
|
2013-01-16 20:09:57 +01:00
|
|
|
Index: coreutils-8.17/src/su.c
|
|
|
|
===================================================================
|
|
|
|
--- coreutils-8.17.orig/src/su.c
|
|
|
|
+++ coreutils-8.17/src/su.c
|
2010-11-16 14:35:27 +01:00
|
|
|
@@ -75,6 +75,9 @@
|
|
|
|
|
|
|
|
#if HAVE_SYSLOG_H && HAVE_SYSLOG
|
|
|
|
# include <syslog.h>
|
|
|
|
+# define SYSLOG_SUCCESS 1
|
|
|
|
+# define SYSLOG_FAILURE 1
|
|
|
|
+# define SYSLOG_NON_ROOT 1
|
|
|
|
#else
|
|
|
|
# undef SYSLOG_SUCCESS
|
|
|
|
# undef SYSLOG_FAILURE
|