Accepting request 833520 from Base:System

OBS-URL: https://build.opensuse.org/request/show/833520
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sudo?expand=0&rev=115
This commit is contained in:
Dominique Leuenberger 2020-09-14 10:03:54 +00:00 committed by Git OBS Bridge
commit 0009b7713c
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