quagga.pam.stack 1.2 KB

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 /lib/security/$ISA/pam_rootok.so
  7. # Uncomment the following line to implicitly trust users in the "wheel" group.
  8. #auth sufficient /lib/security/$ISA/pam_wheel.so trust use_uid
  9. # Uncomment the following line to require a user to be in the "wheel" group.
  10. #auth required /lib/security/$ISA/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 /lib/security/$ISA/pam_securetty.so
  18. #auth required /lib/security/$ISA/pam_stack.so service=system-auth
  19. #auth required /lib/security/$ISA/pam_nologin.so
  20. #account required /lib/security/$ISA/pam_stack.so service=system-auth
  21. #password required /lib/security/$ISA/pam_stack.so service=system-auth
  22. #session required /lib/security/$ISA/pam_stack.so service=system-auth
  23. #session optional /lib/security/$ISA/pam_console.so