2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Use _PATH_STDPATH instead of _PATH_DEFPATH

This commit is contained in:
Todd C. Miller
2010-07-12 18:07:52 -04:00
parent 151db86e3b
commit 5b9e39ac87
3 changed files with 6 additions and 2 deletions

View File

@@ -404,7 +404,7 @@ send_mail(const char *fmt, ...)
#ifndef NO_ROOT_MAILER
static char *root_envp[] = {
"HOME=/",
"PATH=/usr/bin:/bin",
"PATH=/usr/bin:/bin:/usr/sbin:/sbin",
"LOGNAME=root",
"USERNAME=root",
"USER=root",