[Sunhelp] hosed up root login... HELP!

Gregory Leblanc GLeblanc at cu-portland.edu
Tue Feb 15 00:43:07 CST 2000


> -----Original Message-----
> From: Dale Ghent [mailto:daleg at elemental.org]
> Sent: Monday, February 14, 2000 10:28 PM
> To: sunhelp at sunhelp.org
> Subject: Re: [Sunhelp] hosed up root login... HELP!
> 
> 
> On Mon, 14 Feb 2000, ds wrote:
> 
> | One of our Admin's just built his new Ultra 5.  After he 
> was done, he
> | wanted to change the Root shell to Korn.  In doing so, he 
> changed the
> | correct shell name in the passwd file, yet he forgot to 
> change to path
> | to the shell.
> 
> One thing you should avoid doing is changing the default root 
> shell. It is
> /sbin/sh for a specific reason (note: it's not /bin/sh 
> either.) /sbin/sh

Whoops.  One of those darn sh executables.  There always seem to be about 4
of them floating around on any given machine.

> is a statically-linked binary, in other words, it doesnt depend on the
> dynamic loadable libraries in /usr/lib to be around in order for it to
> execute. This means that if a library that is needed by 
> normal dynamically
> linked programs is corrupted or otherwise not useable, one 
> can still log
> in as root and attempt to remedy the situation

Are there any other reasons behind this, or should any statically linked
shell work ok there?
	Greg






More information about the SunHELP mailing list