Skip to content

Commit

Permalink
Merge pull request #12308 from mtomaschewski/pam-account-warning
Browse files Browse the repository at this point in the history
pam: declare root as sufficient frr pam account
  • Loading branch information
ton31337 authored Nov 12, 2022
2 parents 744de7c + 6031b8a commit 2c7c09d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian/frr.pam
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions redhat/frr.pam
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c7c09d

Please sign in to comment.