[Sunhelp] root login problem

Vinay Bharel vinay at bharel.com
Fri Aug 11 17:14:31 CDT 2000


I have always wondered this. What's the difference between /sbin/sh and
/bin/sh ?  Also why is root's shell set to /sbin/sh ?  Why not use bash
like Linux.

---
Vinay Bharel
vinay at bharel.com

On Fri, 11 Aug 2000, Magnus Abrante wrote:

> 
> > Not sure why that shouldn't work unless something is wrong with /bin/ksh.
> > 
> > Why not just change root shell back to /bin/sh?
> 
> Umm, => /sbin/sh <=.. There is a reason to why the roots login shell
> is set to /sbin/sh and nothing other than /sbin/sh, why can't
> people just leave it that way? Its amazing how many problems i've
> seen caused by people changing roots shell, preferably to something
> that doesn't exists, or in one way or another is faulty.
> 
> I dont know, perhaps its to much to write bash/tcsh/csh/ksh when
> people login as root, but then there are other commands like "sudo"
> or by that matter "alias" :)
> 
> Hint 2 is to add another user with the UID 0 GID 1 but login name
> "soot" or whatever which has the desired shell.
> 
> Oh well, thats my humble, sorry if it sounds to negative.
> 
>         //Magnus Abrante
> /* This is my opinion and not the one of my empolyer */
> 	
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
> 






More information about the SunHELP mailing list