mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 22:05:46 +00:00
Make the behavior when we cannot write to a log or audit file
configurable. File log failures are ignored by default for consistency with syslog. Audit errors are ignored by default to allow the admin to fix the issue. I/O log file errors are still fatal by default since if I/O logging is activated it is usually to have an audit trail. Bug #751
This commit is contained in:
@@ -513,6 +513,9 @@ init_defaults(void)
|
||||
#ifdef HAVE_ZLIB_H
|
||||
def_compress_io = true;
|
||||
#endif
|
||||
def_ignore_audit_errors = true;
|
||||
def_ignore_iolog_errors = false;
|
||||
def_ignore_logfile_errors = true;
|
||||
|
||||
/* Now do the strings */
|
||||
if ((def_mailto = strdup(MAILTO)) == NULL)
|
||||
|
Reference in New Issue
Block a user