From 7e24d2adf75729beb88f564e7ec0ba663b08b79a1d6d3253bd31f831f4b7ec8f Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 25 Jul 2019 08:37:25 +0000 Subject: [PATCH] Accepting request 718317 from home:sbrabec:branches:Base:System - shadow-login_defs-suse.patch: Set ALWAYS_SET_PATH default to "yes" (bsc#353876#c7). And fix patch name in older changes entry: * shadow-util-linux.patch OBS-URL: https://build.opensuse.org/request/show/718317 OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=72 --- shadow-login_defs-suse.patch | 9 +++++++++ shadow.changes | 8 +++++++- shadow.spec | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/shadow-login_defs-suse.patch b/shadow-login_defs-suse.patch index 8893bc0..646a317 100644 --- a/shadow-login_defs-suse.patch +++ b/shadow-login_defs-suse.patch @@ -48,6 +48,15 @@ Index: etc/login.defs # If this variable is set to "yes" (default is "no"), su will always set # path. every su call will overwrite the PATH variable. +@@ -85,7 +87,7 @@ ENV_ROOTPATH /sbin:/bin:/usr/sbin:/usr/b + # The recommended value is "yes". The default "no" behavior could have + # a security implication in applications that use commands without path. + # +-ALWAYS_SET_PATH no ++ALWAYS_SET_PATH yes + + # + # Terminal permissions @@ -99,7 +101,7 @@ ALWAYS_SET_PATH no # set TTYPERM to either 622 or 600. # diff --git a/shadow.changes b/shadow.changes index 6c0aafa..5d01ca2 100644 --- a/shadow.changes +++ b/shadow.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jul 20 02:11:10 CEST 2019 - sbrabec@suse.com + +- shadow-login_defs-suse.patch: Set ALWAYS_SET_PATH default to + "yes" (bsc#353876#c7). + ------------------------------------------------------------------- Fri Jul 19 10:19:44 UTC 2019 - sbrabec@suse.com @@ -64,7 +70,7 @@ Tue Apr 30 22:27:14 CEST 2019 - sbrabec@suse.com (bsc#1121197): * shadow-login_defs-unused-by-pam.patch * shadow-login_defs-comments.patch - * shadow-login_defs-util-linux.patch + * shadow-util-linux.patch * shadow-login_defs-suse.patch * Move appropriate hunks to chkname-regex.patch and encryption_method_nis.patch diff --git a/shadow.spec b/shadow.spec index dd5b262..ae95d55 100644 --- a/shadow.spec +++ b/shadow.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ #