mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Allow sudoers to specify the iolog file in addition to the iolog dir.
Add escape sequence support to iolog file and dir: sequence number, user, group, runas_user, runas_group, hostname and command in addition to any escape sequence recognized by strftime(3).
This commit is contained in:
@@ -443,7 +443,8 @@ init_defaults(void)
|
||||
#ifdef UMASK_OVERRIDE
|
||||
def_umask_override = TRUE;
|
||||
#endif
|
||||
def_iolog_dir = _PATH_SUDO_IO_LOGDIR;
|
||||
def_iolog_file = estrdup("%{seq}");
|
||||
def_iolog_dir = estrdup(_PATH_SUDO_IO_LOGDIR);
|
||||
def_sudoers_locale = estrdup("C");
|
||||
def_env_reset = TRUE;
|
||||
def_set_logname = TRUE;
|
||||
|
Reference in New Issue
Block a user