- (dtucker) [auth-pam.c] Do PAM chauthtok during SSH2 keyboard-interactive
   authentication.  Partially fixes bug #423.  Feedback & ok djm@

Some background on why this is the way it is:
* Solaris 8's pam_chauthtok ignores the CHANGE_EXPIRED_AUTHTOK flag, so
  we must call do_pam_account() to figure out if the password is expired.
* AIX 5.2 does not like having pam_acct_mgmt() called twice, once from the
  authentication thread and once from the main shell child, so we cache the
  result, which must be passed from the authentication thread back to the
  monitor.
2 files changed
tree: d4807d0bcb5fd73825cf4d03c89213fab34a9bd7
  1. .cvsignore
  2. CREDITS
  3. ChangeLog
  4. INSTALL
  5. LICENCE
  6. Makefile.in
  7. OVERVIEW
  8. README
  9. README.dns
  10. README.privsep
  11. README.smartcard
  12. RFC.nroff
  13. TODO
  14. WARNING.RNG
  15. acconfig.h
  16. aclocal.m4
  17. atomicio.c
  18. atomicio.h
  19. auth-bsdauth.c
  20. auth-chall.c
  21. auth-krb5.c
  22. auth-options.c
  23. auth-options.h
  24. auth-pam.c
  25. auth-pam.h
  26. auth-passwd.c
  27. auth-rh-rsa.c
  28. auth-rhosts.c
  29. auth-rsa.c
  30. auth-sia.c
  31. auth-sia.h
  32. auth-skey.c
  33. auth.c
  34. auth.h
  35. auth1.c
  36. auth2-chall.c
  37. auth2-gss.c
  38. auth2-hostbased.c
  39. auth2-kbdint.c
  40. auth2-none.c
  41. auth2-passwd.c
  42. auth2-pubkey.c
  43. auth2.c
  44. authfd.c
  45. authfd.h
  46. authfile.c
  47. authfile.h
  48. bufaux.c
  49. bufaux.h
  50. buffer.c
  51. buffer.h
  52. canohost.c
  53. canohost.h
  54. channels.c
  55. channels.h
  56. cipher-3des1.c
  57. cipher-aes.c
  58. cipher-bf1.c
  59. cipher-ctr.c
  60. cipher.c
  61. cipher.h
  62. cleanup.c
  63. clientloop.c
  64. clientloop.h
  65. compat.c
  66. compat.h
  67. compress.c
  68. compress.h
  69. config.guess
  70. config.sub
  71. configure.ac
  72. contrib/
  73. crc32.c
  74. crc32.h
  75. deattack.c
  76. deattack.h
  77. defines.h
  78. dh.c
  79. dh.h
  80. dispatch.c
  81. dispatch.h
  82. dns.c
  83. dns.h
  84. entropy.c
  85. entropy.h
  86. fatal.c
  87. fixpaths
  88. fixprogs
  89. getput.h
  90. groupaccess.c
  91. groupaccess.h
  92. gss-genr.c
  93. gss-serv-krb5.c
  94. gss-serv.c
  95. hostfile.c
  96. hostfile.h
  97. includes.h
  98. install-sh
  99. kex.c
  100. kex.h
  101. kexdh.c
  102. kexdhc.c
  103. kexdhs.c
  104. kexgex.c
  105. kexgexc.c
  106. kexgexs.c
  107. key.c
  108. key.h
  109. log.c
  110. log.h
  111. loginrec.c
  112. loginrec.h
  113. logintest.c
  114. mac.c
  115. mac.h
  116. match.c
  117. match.h
  118. md5crypt.c
  119. md5crypt.h
  120. mdoc2man.awk
  121. misc.c
  122. misc.h
  123. mkinstalldirs
  124. moduli
  125. moduli.c
  126. moduli.h
  127. monitor.c
  128. monitor.h
  129. monitor_fdpass.c
  130. monitor_fdpass.h
  131. monitor_mm.c
  132. monitor_mm.h
  133. monitor_wrap.c
  134. monitor_wrap.h
  135. mpaux.c
  136. mpaux.h
  137. msg.c
  138. msg.h
  139. myproposal.h
  140. nchan.c
  141. nchan.ms
  142. nchan2.ms
  143. openbsd-compat/
  144. packet.c
  145. packet.h
  146. pathnames.h
  147. progressmeter.c
  148. progressmeter.h
  149. readconf.c
  150. readconf.h
  151. readpass.c
  152. readpass.h
  153. regress/
  154. rijndael.c
  155. rijndael.h
  156. rsa.c
  157. rsa.h
  158. scard-opensc.c
  159. scard.c
  160. scard.h
  161. scard/
  162. scp.1
  163. scp.c
  164. servconf.c
  165. servconf.h
  166. serverloop.c
  167. serverloop.h
  168. session.c
  169. session.h
  170. sftp-client.c
  171. sftp-client.h
  172. sftp-common.c
  173. sftp-common.h
  174. sftp-glob.c
  175. sftp-glob.h
  176. sftp-int.c
  177. sftp-int.h
  178. sftp-server.8
  179. sftp-server.c
  180. sftp.1
  181. sftp.c
  182. sftp.h
  183. ssh-add.1
  184. ssh-add.c
  185. ssh-agent.1
  186. ssh-agent.c
  187. ssh-dss.c
  188. ssh-gss.h
  189. ssh-keygen.1
  190. ssh-keygen.c
  191. ssh-keyscan.1
  192. ssh-keyscan.c
  193. ssh-keysign.8
  194. ssh-keysign.c
  195. ssh-rand-helper.8
  196. ssh-rand-helper.c
  197. ssh-rsa.c
  198. ssh.1
  199. ssh.c
  200. ssh.h
  201. ssh1.h
  202. ssh2.h
  203. ssh_config
  204. ssh_config.5
  205. ssh_prng_cmds.in
  206. sshconnect.c
  207. sshconnect.h
  208. sshconnect1.c
  209. sshconnect2.c
  210. sshd.8
  211. sshd.c
  212. sshd_config
  213. sshd_config.5
  214. sshlogin.c
  215. sshlogin.h
  216. sshpty.c
  217. sshpty.h
  218. sshtty.c
  219. sshtty.h
  220. tildexpand.c
  221. tildexpand.h
  222. ttymodes.c
  223. ttymodes.h
  224. uidswap.c
  225. uidswap.h
  226. uuencode.c
  227. uuencode.h
  228. version.h
  229. xmalloc.c
  230. xmalloc.h