[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. One thing I notice is that the open event is executed as user root, while the close event is executed as the non-privileged user logging in. This might be a problem when mounting file systems. Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

