Solved Silly question about new user shell

Why is it that when you setup a new user you are given options of tcsh and csh (plus others)?
I though tcsh is csh ?
 
Yes, they are the same. No, they are not the same.

They are actually the same executable (both /bin/{t,]csh). But the executable looks under what name it was started, and when started as csh, it will execute in a csh-compatible mode. I think the same works with bash, ksh, and sh: depending on which name they are started under, they can pretend to be a simpler shell.

Most likely, new users would enjoy tcsh more, since it is mostly a true superset of csh (I don't know whether that's completely true).
 
And, you will get a list of whatever is in /etc/shells, so if you don't want to see an option, and don't want your users to use a specific shell (and don't want to physically remove the binary for whatever reason), then edit that file.
 
Back
Top