Accepting request 908959 from home:ykurlaev:branches:Base:System2

- Fix commented out "Defaults env_keep" in sudo-sudoers.patch

OBS-URL: https://build.opensuse.org/request/show/908959
OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=203
This commit is contained in:
Jason Sikes 2021-09-21 14:53:15 +00:00 committed by Git OBS Bridge
parent 8f39b9fd2e
commit d4c80a2758
2 changed files with 6 additions and 1 deletions

View File

@ -42,7 +42,7 @@ Index: sudo-1.8.31/plugins/sudoers/sudoers.in
+## Comment out the preceding line and uncomment the following one if you need
+## to use special input methods. This may allow users to compromise the root
+## account if they are allowed to run commands without authentication.
+#Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS XDG_SESSION_COOKIE"
+#Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS XDG_SESSION_COOKIE XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
+
+## Do not insult users when they enter an incorrect password.
+Defaults !insults

View File

@ -78,6 +78,11 @@ Fri Jul 30 07:35:39 UTC 2021 - peter czanik <peter@czanik.hu>
HP-UX we now just cycle through groups the slow way using
getgrent(). Bug #978.
-------------------------------------------------------------------
Mon Jul 12 16:39:24 UTC 2021 - Yaroslav Kurlaev <yaroslav.kurlaev@gmail.com>
- Fix commented out "Defaults env_keep" in sudo-sudoers.patch
-------------------------------------------------------------------
Mon Jul 12 16:29:32 UTC 2021 - Yaroslav Kurlaev <yaroslav.kurlaev@gmail.com>