]> granicus.if.org Git - sudo/commit
Make the behavior when we cannot write to a log or audit file
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 17 Aug 2016 13:22:51 +0000 (07:22 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 17 Aug 2016 13:22:51 +0000 (07:22 -0600)
commited18d0d5f8d9695a137236bb6b6786e2f19ef5df
tree6d100106980b036c060f20844ac2705184efef49
parent9ccd260842d246261fa5c29b7a6f56d2811a75d9
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
13 files changed:
doc/sudoers.cat
doc/sudoers.man.in
doc/sudoers.mdoc.in
plugins/sudoers/def_data.c
plugins/sudoers/def_data.h
plugins/sudoers/def_data.in
plugins/sudoers/defaults.c
plugins/sudoers/iolog.c
plugins/sudoers/policy.c
plugins/sudoers/sudoers.c
src/exec_pty.c
src/sudo.c
src/sudo.h