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

vagrant at freegeek.org vagrant at freegeek.org
Mon Apr 28 19:22:13 UTC 2008


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





More information about the Pkg-ltsp-devel mailing list