Christian Larsen wrote:
And here are the ownership and permissions from my system
-rw-r--r-- 1 root wheel 179 Oct 5 2009 /etc/shells
I'm not quite sure what I could do with that information.
If the /etc/shells file does not have proper ownership and proper permissions, it will be ignored. So I gave you that information because you will need to make sure the file you provide has ownership and permissions like above.
Also, I just found a file called shells~orig, which has the same contents as you posted above for a typical shells file. Does that mean anything?
It means something renamed the /etc/shells to /etc/shells~orig and then did not put in place a working /etc/shells. I do not know what did this.
All I can tell you is if you want a working Terminal session, you MUST HAVE a valid /etc/shells file that lists at least the shell you want to use when you start a terminal session, and ideally it should list all the shells I have posted above, and is currently in your /etc/shells~orig
You can rename /etc/shells~orig to /etc/shells and that should do it.
Finder -> Go -> Go to Folder -> /etc
Use finder to rename shells~orig to shells
You will most likely be told you need to use administrative privileges.
Again, if you have a backup, such as Time Machine, Carbon Copy Cloner, SuperDuper, etc..., you could try restoring from your backup.
Bottom line. If you want to use a Terminal session, you must have a valid /etc/shells and it should look like what I have posted above or what is in your /etc/shells~orig. Without that you cannot use the Terminal.