On 2/6/08, Shawn Walker <[EMAIL PROTECTED]> wrote:
> On Feb 6, 2008 12:30 PM, Kyle McDonald <[EMAIL PROTECTED]> wrote:
> > Shawn Walker wrote:
> > > On Feb 6, 2008 11:59 AM, Kyle McDonald <[EMAIL PROTECTED]> wrote:
> > >
> > >> Joerg Schilling wrote:
> > >>
> > >>> "Shawn Walker" <[EMAIL PROTECTED]> wrote:
> > >>>
> > >>>
> > >>>> 1) *NOT* POSIX compliant
> > >>>>
> > >>>>
> > >>> If you have problems with that, you may modify /etc/passwd
> > >>>
> > >>>
> > >> Since it seems that one group cares more about what they end up with
> > >> when they login as, or su to root, and the other group seems to care
> > >> more about scripts that use #!/bin/sh running correctly, then maybe,
> > >> just maybe (dare I say it?) the solution is to just make the default
> > >> passwd entry for root specify /bin/ksh (or ksh93 if they aren't the 
> > >> same?)
> > >>
> > >> That seems to cover most if not all of the concerns I've heard voiced,
> > >> unless I missed something.
> > >>
> > >> Personally, when I work as 'root' I automatically get the shell from my
> > >> own account, not root's so this change doesn't affect me much.
> > >>
> > >
> > > The issue doesn't have to do with which default shell the user has;
> > >
> > > It has to do with what shell is used when a script is executed that
> > > has "#!/bin/sh" at the top.
> > >
> > > For system administrators that have to maintain software for a
> > > non-heterogeneous environment, it is one more thing they have to deal
> > > with.
> > >
> > >
> > I think you mean 'non-homogeneous'. ;) Otherwise you'd have no problems
> > because you'd have no different platforms.
>
> Yeah, sorry.
>
> > If linux is one of your platforms though, then you still have problems,
> > since /bin/sh is bash on there, and not ksh93, and you'll still have
> > feature, and behaviour differences to work around.
>
> Many Linux distributions are starting to shift towards making /bin/sh
> a POSIX one; Debian I believe was mentioned in passing about this
> particular topic.

Ubuntu uses dash and Suse will use dash in the future

>
> Maintaining something broken in the name of continuing broken-ness
> doesn't seem like a good idea to me :)

+1

Josh
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to