Package:  ltsp-client
Version:  0.99debian11
Severity: important
Tags:     patch
User:     [EMAIL PROTECTED]
UserTags: debian-edu

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.  This
affect systems that check for logged in users, like the killer
package.

I found a solution, which is to add -t to the ssh argument list.  See
<URL:http://lists.debian.org/debian-edu/2008/06/msg00022.html> for
background information.

Looking at ldm version 2:2.0.6-1, I see that this is already done for
the C version of ldm.  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.

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 <[EMAIL PROTECTED]> (Symbio Technologies)


Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to