[Sunhelp] root login problem

Habib M. stmp at hotmail.com
Fri Aug 11 18:03:14 CDT 2000


since root is uid 0 and gid 1 it won't complain if sroot is uid 0
anf gid 1?. what is the useradd command for adding sroot?.
can you tell me?.

Habib


>From: ramon via tictac <ramon at etown.com>
>Reply-To: sunhelp at sunhelp.org
>To: sunhelp at sunhelp.org
>Subject: Re: [Sunhelp] root login problem
>Date: Fri, 11 Aug 2000 15:26:07 -0700 (PDT)
>
>
>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
> >
>
>_______________________________________________
>SunHELP maillist  -  SunHELP at sunhelp.org
>http://www.sunhelp.org/mailman/listinfo/sunhelp

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com






More information about the SunHELP mailing list