[Pkg-ltsp-devel] Bug#490897: ldm: tcsh users unable to login]
Daniel Nilsson
debian-bugs at dnil.se
Tue Jul 15 05:18:37 UTC 2008
Package: ldm
Version: 2:2.0.6-1~40.etch.0
Severity: important
After a lot of hours spent troubleshooting I have discovered that ldm (at least,
could be other parts of ltsp as well) assumed that the user trying to login
is using as bourne shell in the server machine.
For example, line 71 if src/sshutils.c of ldm:
sshcmd[i++] = "LANG=C";
Here ssh is hardcoded to set an environmental variable using this syntax
which is not compatible with tcsh syntax (env LANG=C would be needed in that
case). I tried changing the above but this only seemed to move the problem
somewhere else. If I create two new users on the server where one user is
using /bin/bash as login shell and one user is using /usr/bin/tcsh only the
bash user is allowed to login.
I'm on etch but I followed the directions here to install LTSP5:
http://wiki.debian.org/LTSP/Howto
Regards
Daniel
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-smi-patch
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages ldm depends on:
ii gtk2-engines [gtk2-eng 1:2.8.2-1 theme engines for GTK+ 2.x
ii gtk2-engines-clearlook 1:2.8.2-1 Clearlooks GTK+ 2.x engine and the
ii libatk1.0-0 1.12.4-3 The ATK accessibility toolkit
ii libc6 2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii libcairo2 1.2.4-4.1+etch1 The Cairo 2D vector graphics libra
ii libfontconfig1 2.4.2-1.2 generic font configuration library
ii libglib2.0-0 2.12.4-2 The GLib library of C routines
ii libgtk2.0-0 2.8.20-7 The GTK+ graphical user interface
ii libpango1.0-0 1.14.8-5 Layout and rendering of internatio
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxcursor1 1.1.7-4 X cursor management library
ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar
ii libxfixes3 1:4.0.1-5 X11 miscellaneous 'fixes' extensio
ii libxi6 1:1.0.1-4 X11 Input extension library
ii libxinerama1 1:1.0.1-4.1 X11 Xinerama extension library
ii libxrandr2 2:1.1.0.2-5 X11 RandR extension library
ii libxrender1 1:0.9.1-3 X Rendering Extension client libra
ii openssh-client 1:4.3p2-9etch2 Secure shell client, an rlogin/rsh
ii xserver-xorg 1:7.1.0-19 the X.Org X server
ii xserver-xorg-core [xse 2:1.1.1-21etch5 X.Org X server -- core server
Versions of packages ldm recommends:
ii netcat 1.10-32 TCP/IP swiss army knife
-- no debconf information
More information about the Pkg-ltsp-devel
mailing list