Bug#490897: ldm: tcsh users unable to login

2009-11-03 Thread Florian Schlichting
Hi Vagrant,

this bug is more than a year old already, but when you were testing, did
you also try something like this:
echo sh-code | ssh server /bin/sh

I think this should be less problematic with regard to quoting, and also
upstream seemed to be open to an approach that specified a shell
explicitly, instead of implicitly relying on a user's login shell or
trying to write code that will run on all types of shell.


Also, for all admins of frustrated tcsh users happening upon this bug
report, I'd like to suggest the following workaround:

~/.bash_profile:
# tcsh for interactive login shells.
[[ $- == *i* ]]  SHELL=tcsh exec tcsh -l

~/.bashrc:
# tcsh for interactive non-login shells.
[[ $- == *i* ]]  SHELL=tcsh exec tcsh

Florian



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#490897: ldm: tcsh users unable to login

2008-08-20 Thread Vagrant Cascadian
tags 490897 - pending
tags 490897 wontfix
thanks

so, i've spent many hours and tried many patches, and while it's
definitely possible to get tcsh logins with ldm sort of working, it's
almost impossible to get it working cleanly and consistantly.

we'd have to either prepend '/bin/sh -c foo ; bar ; baz' or 'env foo ;
env bar ; env baz' to every single call to ssh, with some pretty ugly
escaping of variables and so on.  various ldm hooks from other packages
call ssh numerous times. new features are still in development, which
will likely do the same.

unfortunately ldm and ltsp make extensive use of environment variables
across multiple ssh calls, and the differences in the bourne and csh
shell families make this rather difficult to support.

it's a lot of work, i'm not really able to test patches with all posible
combinations of ltsp features.  since upstream isn't excited about
continued support for tcsh either, it would be a bit of a burden to
maintain patches specifically for debian to handle tcsh.

so, for the moment at least, i'm marking this as wontfix. of couse, if
the situation significantly changes, or new, well-tested and very simple
patches to make it work arise, i'd reconsider.

live well,
  vagrant



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



Bug#490897: ldm: tcsh users unable to login]

2008-07-14 Thread Daniel Nilsson
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-01.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-02.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  libxcursor11.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  libxrender11:0.9.1-3 X Rendering Extension client libra
ii  openssh-client 1:4.3p2-9etch2Secure shell client, an rlogin/rsh
ii  xserver-xorg   1:7.1.0-19the 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  netcat1.10-32TCP/IP swiss army knife

-- no debconf information



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