2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 22:05:46 +00:00

Make the I/O log file/dir permissions and owner configurable.

This commit is contained in:
Todd C. Miller
2016-10-29 12:45:55 -06:00
parent b058ac5299
commit 271a07ff00
10 changed files with 325 additions and 72 deletions

View File

@@ -22,6 +22,7 @@
#include <config.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_STRING_H
@@ -493,6 +494,7 @@ init_defaults(void)
#endif
def_netgroup_tuple = false;
def_sudoedit_checkdir = true;
def_iolog_mode = S_IRUSR|S_IWUSR;
/* Syslog options need special care since they both strings and ints */
#if (LOGGING & SLOG_SYSLOG)