log all su attempts

This commit is contained in:
Ludwig Nussel 2010-08-17 13:22:01 +02:00
parent 8171142ab6
commit b14d022fd0
1 changed files with 3 additions and 0 deletions

View File

@ -83,6 +83,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