Cannot find route to change user shell to tcsh

Asked by emdee

Hi,
I'd be very grateful for any help regarding changing from bash to tcsh. This question starts off where question 135405 ends.
I have just installed Ubuntu 12.04 LTS, have installed tcsh, I can cat it in /etc/shells , I have tried chsh -s /usr/bin/tcsh [userid] without success, but I cannot, for the life of me, find my way into the system to change the shell as described in the answer to question 135405 (which was to go to System->Administration->Users and groups). I am new to Ubuntu, but have been a Linux user for more than 10 years, so am not quite illiterate. The access must have changed since Ubuntu 10.4. I have tried via the main menu, system settings and via applications, system tools, administration and via applications, system tools, preferences, advanced settings (which I had to install separately). There I see shell information, but that is the gnome shell. Still no success with the user shell for the command line. Without tcsh I cannot use the definitions from my .cshrc file...
Thanks in advance,
emdee

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu tcsh Edit question
Assignee:
No assignee Edit question
Solved by:
emdee
Solved:
Last query:
Last reply:
Revision history for this message
Sam_ (and-sam) said :
#1

Did you try /bin only? (at least here bash and dash are in /bin not /usr/bin)
When finished remember logout-in.

Also the question mentions /bin.
https://answers.launchpad.net/ubuntu/+question/135405

Same there.
http://forums.fedoraforum.org/showthread.php?s=36cc666df86e10a613a4ab436d8b9be7&p=1515778#post1515778

Or only change terminal preferences.
http://osxdaily.com/2007/02/27/how-to-change-from-bash-to-tcsh-shell/

Revision history for this message
emdee (4ltf) said :
#2

Sam_,
Many thanks! I hate it when people can't read properly (like myself!). It is in /bin indeed and your suggestion works.
Much appreciated! As an aside, this still leaves me pondering where to find the "users and groups" interface, but I won't need that just now...
emdee

Revision history for this message
emdee (4ltf) said :
#3

Sam_,
For the benefit of others who may stumble across this in the future (and to partially exonerate myself), here a few more details:
After successfully using the command chsh -s /bin/tcsh [userid], here a few more tests I did
>ls /usr/bin/tcsh
/usr/bin/tcsh
>which tcsh
/usr/bin/tcsh
>which csh
/bin/csh
>ls /bin/tcsh
/bin/tcsh
The critical thing, which threw me, is that there are shells in both directories and even after successfully activation of /bin/tcsh, "which" still points to the one in /usr/bin! After the initial Ubuntu installation, I had installed tcsh separately, then used which to tell me where it was. Only the newly installed one must be the one in /bin, whereas the, possibly pre-existing, one in /usr/bin is the "invalid" one.
emdee

Revision history for this message
Sam_ (and-sam) said :
#4

> where to find the "users and groups"

Nowhere as standard GUI, else an admin may use cli.
Standard is system-settings -> user accounts

Workaround.
Install gnome-system-tools, logout-in, now the dash app lens should content user_and_groups.
http://packages.ubuntu.com/precise/gnome-system-tools

Revision history for this message
emdee (4ltf) said :
#5

THERE it is indeed! Many thanks again! I wouldn't have known what to install or how to search for what I needed.
Again, for the benefit of others: I have now used the Ubuntu Software Centre to install gnome-system-tools. THEN I get, under
Applications->System Tools->Administration->"Users and Groups" as a new option! In the "Advanced Settings" for my account I can now choose the login shell (which is confirmed by the tool to be /bin/tcsh ; that is correct, whereas "which" from the command line still points at the wrong location).

Revision history for this message
Sam_ (and-sam) said :
#6

> Applications->System Tools->Administration->"Users and Groups"

This ^ ^ ^ is no Unity session. Instead it's gnome-session-fallback aka gnome-classic?

Revision history for this message
emdee (4ltf) said :
#7

Sam_,
That is correct.
emdee