There are some historical reasons (which may no longer be valid) why it  
would be better not to change the shell for the root login, and I believe you  
may 
have inadvertently discovered one of them.  (I'm working from memory  here;  
no Solaris system in front of me)  Csh is (or was) not located  in the same 
directory as sh. Sysadmins would change /bin/sh to /bin/csh in the  /etc/passwd 
file, and the system wouldn't be able to find the desired login  shell.  
Moreover, the location of csh is (or was) on a separate partition,  for those 
systems not using a monolithic mount of the OS, so in cases where the  file 
system 
had problems, the system might even come up without the desired  directory 
mounted, making it impossible for root to get into the system at  all.
 
Make sure you do a "which csh" to ascertain the correct directory.
 
regards
gear
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to