[Pkg-ltsp-devel] Bug#485795: ldm: Logged in users do not show up on 'who'
Vagrant Cascadian
vagrant at freegeek.org
Tue Jun 17 05:49:55 UTC 2008
fixed 485795 2:2.0.6-1
thanks
On Wed, Jun 11, 2008 at 04:17:16PM +0200, Petter Reinholdtsen wrote:
> When a user log in using the ldm version in Etch, the /var/run/utmp
> file isn't updated and the user fail to show up as logged in.
...snip...
> Looking at ldm version 2:2.0.6-1, I see that this is already done for
> the C version of ldm.
indeed, i can confirm it works fine in lenny and sid.
> Please do this for ldm in Etch too, as it confuses syadmins and make
> it harder to know if a machine is unused or not.
i wouldn't object to an upload for etch(presuming it was well tested, of
course), but don't have time to work on it myself.
> Here is a patch to solve it.
>
> --- /tmp/ldm 2008-06-11 16:01:39.042442801 +0200
> +++ /opt/ltsp/i386/usr/sbin/ldm 2008-06-11 15:56:53.000000000 +0200
> @@ -155,7 +155,7 @@
> os.environ['LDM_ASKPASS_FD'] = str(pipe_read)
> os.environ['SSH_ASKPASS'] = '/usr/lib/ltsp/ldm-askpass'
>
> - ssh_opts = ['-v',
> + ssh_opts = ['-v', '-t',
> '-c', 'blowfish-cbc,aes128-cbc,3des-cbc']
>
> # Edited by Gideon Romm <gideon at symbio-technologies.com> (Symbio Technologies)
looks pretty reasonable to me.
live well,
vagrant
More information about the Pkg-ltsp-devel
mailing list