pam.conf 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. # ---------------------------------------------------------------------------#
  2. # /etc/pam.conf #
  3. # #
  4. # Last modified by Andrew G. Morgan <morgan@kernel.org> #
  5. # ---------------------------------------------------------------------------#
  6. # $Id$
  7. # ---------------------------------------------------------------------------#
  8. # serv. module ctrl module [path] ...[args..] #
  9. # name type flag #
  10. # ---------------------------------------------------------------------------#
  11. #
  12. # The PAM configuration file for the `chfn' service
  13. #
  14. chfn auth required pam_unix.so
  15. chfn account required pam_unix.so
  16. #chfn password required pam_cracklib.so retry=3
  17. chfn password required pam_unix.so shadow md5 use_authtok
  18. #
  19. # The PAM configuration file for the `chsh' service
  20. #
  21. chsh auth required pam_unix.so
  22. chsh account required pam_unix.so
  23. #chsh password required pam_cracklib.so retry=3
  24. chsh password required pam_unix.so shadow md5 use_authtok
  25. #
  26. # The PAM configuration file for the `ftp' service
  27. #
  28. ftp auth requisite pam_listfile.so \
  29. item=user sense=deny file=/etc/ftpusers onerr=succeed
  30. ftp auth requisite pam_shells.so
  31. ftp auth required pam_unix.so
  32. ftp account required pam_unix.so
  33. #
  34. # The PAM configuration file for the `imap' service
  35. #
  36. imap auth required pam_unix.so
  37. imap account required pam_unix.so
  38. #
  39. # The PAM configuration file for the `login' service
  40. #
  41. #login auth requisite pam_securetty.so
  42. login auth required pam_unix.so
  43. login auth optional pam_group.so
  44. login account requisite pam_time.so
  45. login account required pam_unix.so
  46. #login password required pam_cracklib.so retry=3
  47. login password required pam_unix.so shadow md5 use_authtok
  48. login session required pam_unix.so
  49. #
  50. # The PAM configuration file for the `netatalk' service
  51. #
  52. netatalk auth required pam_unix.so
  53. netatalk account required pam_unix.so
  54. #
  55. # The PAM configuration file for the `other' service
  56. #
  57. other auth required pam_deny.so
  58. other auth required pam_warn.so
  59. other account required pam_deny.so
  60. other password required pam_deny.so
  61. other password required pam_warn.so
  62. other session required pam_deny.so
  63. #
  64. # The PAM configuration file for the `passwd' service
  65. #
  66. #passwd password requisite pam_cracklib.so retry=3
  67. passwd password required pam_unix.so shadow md5 use_authtok
  68. #
  69. # The PAM configuration file for the `rexec' service
  70. #
  71. rexec auth requisite pam_securetty.so
  72. rexec auth requisite pam_nologin.so
  73. rexec auth sufficient pam_rhosts_auth.so
  74. rexec auth required pam_unix.so
  75. rexec account required pam_unix.so
  76. rexec session required pam_unix.so
  77. rexec session required pam_limits.so
  78. #
  79. # The PAM configuration file for the `rlogin' service
  80. # this application passes control to `login' if it fails
  81. #
  82. rlogin auth requisite pam_securetty.so
  83. rlogin auth requisite pam_nologin.so
  84. rlogin auth required pam_rhosts_auth.so
  85. rlogin account required pam_unix.so
  86. #rlogin password required pam_cracklib.so retry=3
  87. rlogin password required pam_unix.so shadow md5 use_authtok
  88. rlogin session required pam_unix.so
  89. rlogin session required pam_limits.so
  90. #
  91. # The PAM configuration file for the `rsh' service
  92. #
  93. rsh auth requisite pam_securetty.so
  94. rsh auth requisite pam_nologin.so
  95. rsh auth sufficient pam_rhosts_auth.so
  96. rsh auth required pam_unix.so
  97. rsh account required pam_unix.so
  98. rsh session required pam_unix.so
  99. rsh session required pam_limits.so
  100. #
  101. # The PAM configuration file for the `samba' service
  102. #
  103. samba auth required pam_unix.so
  104. samba account required pam_unix.so
  105. #
  106. # The PAM configuration file for the `su' service
  107. #
  108. su auth required pam_wheel.so
  109. su auth sufficient pam_rootok.so
  110. su auth required pam_unix.so
  111. su account required pam_unix.so
  112. su session required pam_unix.so
  113. #
  114. # The PAM configuration file for the `vlock' service
  115. #
  116. vlock auth required pam_unix.so
  117. #
  118. # The PAM configuration file for the `xdm' service
  119. #
  120. xdm auth required pam_unix.so
  121. xdm account required pam_unix.so
  122. #
  123. # The PAM configuration file for the `xlock' service
  124. #
  125. xlock auth required pam_unix.so