On Mon, Jun 30, 2008 at 3:33 PM, Cedric Blancher
<[EMAIL PROTECTED]> wrote:
> On 30/06/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> Dennis,
>>
>>
>> > With a stock out of the box OpenSolaris install I installed Studio 12 and
>> ksh93
>>
>
> You don't need to install ksh93 on OpenSolaris. It's already
> preinstalled as /bin/sh.
I think that was a *wrong* thing to do and thus I manually install the
shells that I want as I see fit. I pretty much expect that the default
shell in Solaris should be a statically linked binary such that I can
lose nearly everything and still have a working shell :
$ ls -lapin /sbin/sh
952 -r-xr-xr-x 2 0 0 239348 Mar 9 2006 /sbin/sh
$ file /sbin/sh
/sbin/sh: ELF 32-bit LSB executable 80386 Version 1, statically
linked, stripped
I KNOW that Solaris 10 is a different beast from previous editions.
Solaris 10 is different how? Solaris 10 has a default Bourne Shell
/sbin/sh that is not statically linked anymore. This was done
intentionally when the single/multi threaded process model was unified
and the statically linked libc was removed. Solaris 10 commands in
/sbin should only link with things in /lib. There are symlinks in
/usr/lib to /lib for some libraries for backwards compatibility
reasons. In fact, Solaris 10 is so smart that both su and login will
fall back to /sbin/sh if the shell you specify in /etc/passwd for root
can not be executed for some reason. What I am saying here is that you
can change root's shell in Solaris 10 and still sleep well at night.
I don't know what OpenSolaris 200805 does in such events.
If I want to, I can even *choose* another shell like /usr/xpg4/bin/sh
which is essentially an implementation of ksh(1) with some strict
standards applied :
sh(1) says :
The /usr/xpg4/bin/sh utility is a standards compliant shell.
This utility provides all the functionality of ksh(1),
except in cases discussed in ksh(1) where differences in
behavior exist.
Therefore, as a user, I *choose* to use ksh93 from ( Roland Mainz )
for my own reasons and thus far I love it.
Dennis
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss