Hello, gurus, Thank you to all who replied. The global consensus seems to be that /sbin/sh is still statically linked in Solaris 10, though some people suggested the contrary. Which means that there would still be trouble if we had to boot in single user mode or had to boot from CD for system recovery and/or /usr was not accessible. So, the safest way is to just type "ksh" or "bash" at the interactive shell, or export SHELL and do an "exec ksh" or an "exec bash" in the .profile of root. John Julian suggested to check for the runlevel in the .profile, which seems the safest solution for me. RunLevel=`/bin/who -r | awk '{print $3}'` if [ $RunLevel -eq 3 ] && [ -x /bin/ksh ] then if [ ! "$DT" ] then SHELL=/bin/ksh export SHELL exec /bin/ksh else SHELL=/bin/ksh export SHELL fi fi Rami _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu Mar 9 08:37:22 2006
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:56 EST