On Thu 21 Sep 2006 at 12:07AM, Roland Mainz wrote:
> Casper.Dik at sun.com wrote:
> > 
> > >I don't know that I can argue for ksh93 versus any other shell,
> > >but adding /sbin/ksh93 at least gives us one modern, more feature-rich
> > >alternative to the bourne shell (/sbin/sh), for use as the root shell,
> > >in JumpStart scripts, or in single-user mode, when dealing with filesystem
> > >problems.
> > 
> > I don't think that's a strong enough reason:
> > 
> >         - you can already use any shell as root shell; is /usr isn't
> >         mounted /sbin/sh is used instead.
> 
> Do you mean replacing "root"'s login shell in /etc/passwd with any shell
> ? Where is this documented (AFAIK the recommentation over all the years
> was "... don't do that. Never. Don't touch it or your system will
> explode (sooner or later) ...") ?

I improved this in Solaris 9.  Here's a reference:

http://groups.google.com/group/comp.unix.solaris/browse_thread/thread/9665233a4976c7fb/dcabfd29073e5795#dcabfd29073e5795

This is PSARC/2001/723 "Fallback Root Login for su(1M)"

        -dp

-- 
Daniel Price - Solaris Kernel Engineering - dp at eng.sun.com - blogs.sun.com/dp

Reply via email to