On Sun, Apr 27, 2008 at 11:39:00PM +0200, Petter Reinholdtsen wrote: > [Vagrant Cascadian] > > for anyone watching, basically ldm uses ssh -X to log into the > > server. pam session hooks don't get executed on logout when using > > ldm. but if you ssh manually, the pam session hooks do get executed > > on logout. > > Perhaps the ssh session isn't terminated when a user log out? I > tested using pam-hooks with ssh login both interactive and > non-interactive, and the pam session hooks are executed both when the > session is opened and closed.
in my experience, i've tested manually ssh'ing to the same server, and i see a logs for opening and closing the session. when doing so with ldm on the same server, it has a log entry for opening the session, but not closing it. my guess is that it might have to do with how ldm does "kill $PPID" (the parent process id) at the end of every session. it would require recompiling ldm to test this. live well, vagrant -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

