Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
sudo.import5613
sudo-secure_path.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sudo-secure_path.diff of Package sudo.import5613
Index: pathnames.h.in =================================================================== --- pathnames.h.in.orig +++ pathnames.h.in @@ -44,7 +44,7 @@ #endif /* _PATH_DEVNULL */ #ifndef _PATH_DEFPATH -#define _PATH_DEFPATH "/usr/bin:/bin" +#define _PATH_DEFPATH "/usr/bin:/bin:/usr/sbin:/sbin" #endif /* _PATH_DEFPATH */ #ifndef _PATH_STDPATH Index: env.c =================================================================== --- env.c.orig +++ env.c @@ -756,7 +756,7 @@ rebuild_env(noexec) } } /* Replace the PATH envariable with a secure one? */ - if (def_secure_path && !user_is_exempt()) { + if (def_secure_path && !user_is_exempt() && def_env_reset) { sudo_setenv("PATH", def_secure_path, TRUE); SET(didvar, DID_PATH); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor