Merge pull request #12308 from mtomaschewski/pam-account-warning

pam: declare root as sufficient frr pam account
This commit is contained in:
Donatas Abraitis 2022-11-12 22:35:53 +02:00 committed by GitHub
commit 2c7c09d94c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
debian/frr.pam vendored
View File

@ -1,3 +1,4 @@
# Any user may call vtysh but only those belonging to the group frrvty can
# actually connect to the socket and use the program.
auth sufficient pam_permit.so
account sufficient pam_rootok.so

View File

@ -5,6 +5,7 @@
# Only allow root (and possibly wheel) to use this because enable access
# is unrestricted.
auth sufficient pam_rootok.so
account sufficient pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel" group.
#auth sufficient pam_wheel.so trust use_uid