Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 1999 18:18:34 -0700
From:      John Armstrong <siberian@siberian.org>
To:        Summoner <summoner@uswest.net>
Cc:        freebsd-advocacy@freebsd.org
Subject:   Re: What to tell to Linux-centric people?!
Message-ID:  <v04210125b3bec432b792@[216.112.76.84]>
In-Reply-To: <37991278.5324A70B@uswest.net>
References:   <Pine.LNX.4.10.9907231248470.12396-100000@dragon.ham.muohio.edu> <v0421010eb3be5f14df8c@[216.112.76.84]> <37991278.5324A70B@uswest.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Well here was the problem I had.

I upgraded from freebsd 2.2.8 to 3.0. That means I went from a.out to 
an elf based kernel which means that it upgraded all my stock freebsd 
binaries. Well, it did _not_ upgrade my tcsh binary since its a port. 
When I tried to login in as root at console it could not launch the 
shell since it was a.out and not elf.

This means I was locked out of the machine! I forgot how I solved the 
issue but it was a pain in the neck. Since then, I have learned that 
it is much easier to leave root at 'sh' and, when I login in as root, 
typing 'exec tcsh'. Sure, its an extra command line but I feel good 
about it.  I can't live without my tcsh :)

Moral of the story, if something goes wrong with your root login 
shell your in a little trouble and much less is likely to happen to 
sh then to tcsh or bash or any other port shell.

John-

At 6:10 PM -0700 7/23/99, Summoner wrote:
>John Armstrong wrote:
> > Just make sure
> > root always has a base sh shell for emergencies and your set.
>
>Excuse my newbieness, but why should I have sh for root?  So that if
>when screw over my installation again I still have a shell for single
>user mode and (hopefully) fix things?  Or does base shell mean
>something else?
>
>My US$.019: I grew up on Bourne-style shells, I'm used to interactive
>command-line editting.  So it was key for my learning FreeBSD to use
>bash.  I don't need colour, never did.



-----------------------------------------------------------
"The term "daemons" is a Judeo-Christian pejorative. 
Such processes will now be known as "spiritual guides". "
   -Political Correct UNIX Page 
   ( http://www.baltimoremd.com/technology/newunix.html )



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-advocacy" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v04210125b3bec432b792>