add missing pam_env to su(1) setting

Resolves: RHEL-61157
This commit is contained in:
Karel Zak 2025-01-14 11:31:39 +01:00
parent 96292485d2
commit 2dd965c4d8

View File

@ -1,4 +1,5 @@
#%PAM-1.0 #%PAM-1.0
auth required pam_env.so
auth sufficient pam_rootok.so auth sufficient pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel" group. # Uncomment the following line to implicitly trust users in the "wheel" group.
#auth sufficient pam_wheel.so trust use_uid #auth sufficient pam_wheel.so trust use_uid