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. Ensuring that #!/bin/sh was a POSIX-compliant shell on the majority of UNIX and UNIX-like environments would go a long way towards easing administrative and development pain for many individuals. -- Shawn Walker, Software and Systems Analyst http://binarycrusader.blogspot.com/ "To err is human -- and to blame it on a computer is even more so." - Robert Orben _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org