summaryrefslogtreecommitdiff
path: root/source/a/util-linux/su.default
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/util-linux/su.default')
-rw-r--r--source/a/util-linux/su.default3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/a/util-linux/su.default b/source/a/util-linux/su.default
new file mode 100644
index 00000000..73fb50a0
--- /dev/null
+++ b/source/a/util-linux/su.default
@@ -0,0 +1,3 @@
+# Ensure that ENV_SUPATH from /etc/login.defs is used for the $PATH when
+# 'su' is used. Otherwise /sbin paths will be missing unless 'su -' is used.
+ALWAYS_SET_PATH yes