[Sunhelp] root login problem

ramon via tictac ramon at etown.com
Fri Aug 11 17:26:07 CDT 2000


Another solution to changing the root shell can be to create another root
user such as "rootk" with a uid of 0 and /usr/bin/ksh as the shell.

ramon.


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