From f2ea0c33d8c25ee40e7fe7a16d0994c8069bc120 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel 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(-) Index: coreutils-8.17/src/su.c =================================================================== --- coreutils-8.17.orig/src/su.c +++ coreutils-8.17/src/su.c @@ -75,6 +75,9 @@ #if HAVE_SYSLOG_H && HAVE_SYSLOG # include +# define SYSLOG_SUCCESS 1 +# define SYSLOG_FAILURE 1 +# define SYSLOG_NON_ROOT 1 #else # undef SYSLOG_SUCCESS # undef SYSLOG_FAILURE