Koozali.org: home of the SME Server

adding tcsh as usable shell

Chad Self

adding tcsh as usable shell
« on: September 28, 2002, 07:49:21 PM »
I've recently purchased an Apple G4 Powerbook which uses tcsh as it's default shell.  The more I use it, the more I like the way I can have it auto-complete commands etc.

I notice that tcsh is listed in the /bin directory, but when I try to chsh, I get an error message that says:
   chsh: "/bin/tcsh" is not listed in /etc/shells.
   chsh: use -l option to see list

It's no huge deal in the grand scheme of things, but how can I add new shells to the system?  I'd also like to play with zsh since it's supposed to incorporate the best of the c and bourne shells.

Thanks
C

Chad Self

Re: adding tcsh as usable shell
« Reply #1 on: September 29, 2002, 12:02:41 AM »
Nevermind.
I figured it out by pico'ing the /etc/shells file and adding the path.

Still don't know how to add a shell that's not installed on the system, but I think I can figure it out since I've got the entire day to do it in.

Dan Brown

Re: adding tcsh as usable shell
« Reply #2 on: September 29, 2002, 07:06:00 AM »
Adding another shell like zsh would simply be a matter of finding an appropriate RPM (start with rpmfind.net) and installing it.