summaryrefslogtreecommitdiff
path: root/redhat
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2024-01-30 10:24:57 -0600
committerGitHub <noreply@github.com>2024-01-30 10:24:57 -0600
commit471e4b7bbe1eeda362d93baa5f8e2b866166a634 (patch)
tree8f5c0e6b57d3de54fd07bb585b1f575d3378df34 /redhat
parentd633a81dbfd2e5044315d97715a22642e5d8b1c0 (diff)
parente68c4f053905de7bc965667d57c330d080441cad (diff)
Merge pull request #15163 from opensourcerouting/fix/pam_account
packaging: Require account validation with pam_unix.so if PAM enabled
Diffstat (limited to 'redhat')
-rw-r--r--redhat/frr.pam4
1 files changed, 2 insertions, 2 deletions
diff --git a/redhat/frr.pam b/redhat/frr.pam
index 17a62f1999..a574c5e575 100644
--- a/redhat/frr.pam
+++ b/redhat/frr.pam
@@ -4,8 +4,8 @@
##### if running frr as root:
# Only allow root (and possibly wheel) to use this because enable access
# is unrestricted.
-auth sufficient pam_rootok.so
-account sufficient pam_rootok.so
+auth sufficient pam_permit.so
+account sufficient pam_permit.so
# Uncomment the following line to implicitly trust users in the "wheel" group.
#auth sufficient pam_wheel.so trust use_uid