Comment 0 for bug 367963

Revision history for this message
dave_rodgman (dav1dr) wrote :

I've experienced very odd behaviour with the login shell:

Initially I had bash installed and no tcsh. Randomly, gnome-terminal locked up. New terminals wouldn't start (xterm or gnome-terminal). I couldn't log in in text-mode because (IIRC) of some error message about tcsh not being present (note: my shell in /etc/passwd is /bin/bash, which is present).

I managed to install tcsh, at which point all my login shells were tcsh, despite my setting in /etc/passwd. typing "bash" launched bash fine.

I then uninstalled tcsh. Now I get a bash login shell, and everything seems OK.

This happened randomly while I was using X, without changing any settings or updating packages.

The only possible clue is that I have a network login, so my /etc/password looks like:

+drodgman::::::/bin/bash

but:

sudo chsh -s /bin/bash drodgman
chsh: drodgman not found in /etc/passwd

maybe some problem with parsing network logins?