forked from Mirror/frr
Merge pull request #15163 from opensourcerouting/fix/pam_account
packaging: Require account validation with pam_unix.so if PAM enabled
This commit is contained in:
commit
471e4b7bbe
2
debian/frr.pam
vendored
2
debian/frr.pam
vendored
|
@ -1,4 +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
|
||||
account sufficient pam_permit.so
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue