[Pkg-ltsp-devel] Bug#471793: Bug#471793: ldm doesn't handle pam logouts properly

Petter Reinholdtsen pere at hungry.com
Sun Apr 27 21:39:00 UTC 2008


[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





More information about the Pkg-ltsp-devel mailing list