If you want everyone to get a POSIX shell:
* give everyone /usr/xpg4/bin/sh as their shell
* put
PATH=`getconf CS_PATH`;export PATH
in /etc/profile
* put that same PATH value (expanded) in /etc/default/init

I think that would probably do it...maybe I missed something.

AFAIK, all POSIX requires is that the "sh" found when PATH is set to
getconf CS_PATH
is the POSIX shell.  However convenient it might be, it does _not_
require that /bin/sh = POSIX shell, precisely because that would
cause breakage in some cases.  (yes, there are both demo and real
examples of Bourne shell scripts that would break under ksh93 or
any other POSIX compatible shell).

But perhaps it's time to look more closely at
http://mail.opensolaris.org/pipermail/approach-discuss/2006-July/000186.html
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to