quagga.pam 975 B

1234567891011121314151617181920212223242526
  1. #%PAM-1.0
  2. #
  3. ##### if running quagga as root:
  4. # Only allow root (and possibly wheel) to use this because enable access
  5. # is unrestricted.
  6. auth sufficient pam_rootok.so
  7. # Uncomment the following line to implicitly trust users in the "wheel" group.
  8. #auth sufficient pam_wheel.so trust use_uid
  9. # Uncomment the following line to require a user to be in the "wheel" group.
  10. #auth required pam_wheel.so use_uid
  11. ###########################################################
  12. # If using quagga privileges and with a seperate group for vty access, then
  13. # access can be controlled via the vty access group, and pam can simply
  14. # check for valid user/password, eg:
  15. #
  16. # only allow local users.
  17. #auth required pam_securetty.so
  18. #auth include system-auth
  19. #auth required pam_nologin.so
  20. #account include system-auth
  21. #password include system-auth
  22. #session include system-auth
  23. #session optional pam_console.so