forked from jengelh/util-linux
Accepting request 700496 from home:sbrabec:branches:util-linux-2.33.1
Depends on https://build.opensuse.org/request/show/700494! - Fix problems in reading of login.defs values (bsc#1121197, util-linux-login_defs-priority1.patch, util-linux-login_defs-priority2.patch, util-linux-login_defs-SYS_UID.patch). - Perform one-time reset of /etc/default/su (bsc#1121197). - Add virtual symbols for login.defs compatibility (bsc#1121197). - Add login.defs safety check util-linux-login_defs-check.sh (bsc#1121197). - Drop bc BuildRequires: not needed. OBS-URL: https://build.opensuse.org/request/show/700496 OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=398
This commit is contained in:
20
su.default
20
su.default
@@ -1,14 +1,8 @@
|
||||
# Per default, only "su -" will set a new PATH.
|
||||
# If this variable is set to "yes" (default is "no"),
|
||||
# every su call will overwrite the PATH variable.
|
||||
# /etc/default/su is an override for /etc/login.defs for su and runuser
|
||||
# (It is also read as a fallback for login.)
|
||||
#
|
||||
# See /etc/login.defs, su(1) or runuser(1) for more.
|
||||
#
|
||||
# List of su/runuser variables:
|
||||
# ALWAYS_SET_PATH, ENV_PATH, ENV_ROOTPATH, ENV_SUPATH, FAIL_DELAY
|
||||
#
|
||||
# The recommended default is "yes". The default "no" behavior could have
|
||||
# a security implication in applications that use commands without path.
|
||||
ALWAYS_SET_PATH=yes
|
||||
|
||||
# Default path.
|
||||
PATH=/usr/local/bin:/bin:/usr/bin
|
||||
|
||||
# Default path for a user invoking su to root.
|
||||
SUPATH=/usr/sbin:/bin:/usr/bin:/sbin
|
||||
|
||||
|
Reference in New Issue
Block a user