> Hi April, > > thanks for your quick response. > > What is the reason for the long-term goal? > > I understand that goal for companies which have lots > of applications and scripts running and nobody knows > if ksh93 is working well in any circumstance. > > But when I use SXCE for my Workstation and I don't > have such crap - is there a reason to not use ksh93 > for user root as default? Are there some > Solaris-internal scripts which still don't work well > with ksh93? [...]
People have changed the shell for the root account entry in /etc/passwd (or whatever) to things other than /sbin/sh. There used to be religious arguments about that, because /sbin/sh used to be statically linked, which meant that if /usr wasn't mounted, it would still work. There aren't any statically linked programs anymore. However, it would be good if all the libs that any other shell needed that you might want to use in place of /sbin/sh for root were in /lib rather than /usr/lib. Other possible arguments against changing it are that you shouldn't be spending enough time as root to care what shell it uses (safer and more accountable if you're using your own account supplemented with RBAC roles as needed), and (unless you've changed root's home directory to /root, mode 0700) having a .sh_history file or whatever for root isn't good (if anybody could look at it). Other than that, I don't know that that particular change would break anything. Changing /bin/sh to be ksh93 is a different story; it would very likely break some script somewhere; and until at least all the scripts that come with the system have been tested with ksh93, replacing /usr/xpg4/bin/sh or /bin/ksh with ksh93 might also be risky. Based on what's been discussed previously, it wouldn't surprise me if any or all of those happened eventually, once there was a better understanding of the scope of the problems it might cause. So what you do to any account (even root) is more or less up to you, but if it were me, I'd leave as-is what the various shell pathnames actually run. Strictly unofficial amateur-hour advice of course, but I think that pretty much covers it. -- This message posted from opensolaris.org