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