I thought I remembered an /etc/shells file or something like that. It is a list of all the programs that are allowed to be shells. But then, I am not sure if my coffee has kicked in yet this morning.