From 2dd965c4d8ff385332016fd68b1eff3f5c849ac9 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 14 Jan 2025 11:31:39 +0100 Subject: [PATCH] add missing pam_env to su(1) setting Resolves: RHEL-61157 --- util-linux-su.pamd | 1 + 1 file changed, 1 insertion(+) diff --git a/util-linux-su.pamd b/util-linux-su.pamd index 030657f..5733201 100644 --- a/util-linux-su.pamd +++ b/util-linux-su.pamd @@ -1,4 +1,5 @@ #%PAM-1.0 +auth required pam_env.so auth sufficient pam_rootok.so # Uncomment the following line to implicitly trust users in the "wheel" group. #auth sufficient pam_wheel.so trust use_uid