mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Bring back the "secure_path" Defaults option now that Defaults take
effect before the path is searched.
This commit is contained in:
@@ -475,6 +475,9 @@ init_defaults()
|
||||
#endif
|
||||
#ifdef EXEMPTGROUP
|
||||
def_exempt_group = estrdup(EXEMPTGROUP);
|
||||
#endif
|
||||
#ifdef SECURE_PATH
|
||||
def_secure_path = estrdup(SECURE_PATH);
|
||||
#endif
|
||||
def_editor = estrdup(EDITOR);
|
||||
#ifdef _PATH_SUDO_NOEXEC
|
||||
|
Reference in New Issue
Block a user