ClientAliveCountMax and PAM Authentication



If we ClientAliveCountMax openssh sshd shuts down the session by
calling _exit() in cleanup_exit(). This abrupt form of quitting the
program doesn’t call our pam module clean up that is keeping track of
the session count. I can hack cleanup_exit() to call our cleanup
routines, but before I do that I was wondering if anyone has more
savvy way of doing this that is inline with the openssh architecture.
Thanks for your help.
.



Relevant Pages

  • Re: Restricting CDE
    ... How can I resctrict the CDE environment? ... window and the root menu only offers refresh/restart and exit. ... the users start their X session through the network. ... application means quitting the X session at the same time. ...
    (AIX-L)
  • Re: True odds bets? Clams
    ... expectation of quitting a session a winner. ... every bet lost adds to the probability of quittin ga loser. ... But the effect of any *one* bet is very marginal if the session is of any ...
    (rec.gambling.craps)
  • Re: Kontact is a killer app
    ... What Id like is for Kontact to not start automatically when KDE ... If "save session on exit" is enabled, and it is by default, then kontact ... quitting the previous session. ...
    (alt.os.linux.suse)