SHA256
1
0
forked from pool/sudo

Accepting request 832691 from home:mvarlese:branches:Base:System

- Modified the secure_path to include the other two default paths 
  which are commonly available to $user. This will offer a better
  and more consistent UX.

OBS-URL: https://build.opensuse.org/request/show/832691
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=181
This commit is contained in:
Kristyna Streitova 2020-09-10 15:58:50 +00:00 committed by Git OBS Bridge
parent d429a52e63
commit 85a5bf7b1e
2 changed files with 8 additions and 1 deletions

View File

@ -34,7 +34,7 @@ Index: sudo-1.8.31/plugins/sudoers/sudoers.in
+## unexpected or harmful way (CVE-2005-2959, CVE-2005-4158, CVE-2006-0151)
+Defaults always_set_home
+## Path that will be used for every command run from sudo
+Defaults secure_path="/usr/sbin:/usr/bin:/sbin:/bin"
+Defaults secure_path="/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:/usr/local/sbin"
+Defaults env_reset
+## Change env_reset to !env_reset in previous line to keep all environment variables
+## Following list will no longer be necessary after this change

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 7 08:01:05 UTC 2020 - Marco Varlese <marco.varlese@suse.com>
- Modified the secure_path to include the other two default paths
which are commonly available to $user. This will offer a better
and more consistent UX.
-------------------------------------------------------------------
Tue Aug 25 10:10:10 UTC 2020 - olaf@aepfle.de