File su.default of Package util-linux
15
1
# Per default, only "su -" will set a new PATH.
2
# If this variable is set to "yes" (default is "no"),
3
# every su call will overwrite the PATH variable.
4
#
5
# The recommended default is "yes". The default "no" behavior could have
6
# a security implication in applications that use commands without path.
7
ALWAYS_SET_PATH=yes
8
9
# Default path.
10
PATH=/usr/local/bin:/bin:/usr/bin
11
12
# Default path for a user invoking su to root.
13
SUPATH=/usr/sbin:/bin:/usr/bin:/sbin
14
15