Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Oct 1999 01:56:40 +0000 (GMT)
From:      "Jason C. Wells" <jcwells@u.washington.edu>
To:        J McKitrick <jcm@dogma.freebsd-uk.eu.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: stupid root/toor question...
Message-ID:  <Pine.BSF.4.10.9910300151510.33874-100000@s8-37-26.student.washington.edu>
In-Reply-To: <Pine.BSF.4.02A.9910291958080.8801-100000@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 29 Oct 1999, J McKitrick wrote:

>Looks like root IS toor.   <embarrassed>
>But why was everyone saying to use a different shell in toor and save sh
>for root in the event of problems?

Now for the gory details.

Bash is built with the use of shared libraries. The libraries are in
/usr/lib. Suppose /usr has a problem. You cannot mount /usr. You cannot
use bash. If root tries to use bash but bash will not work, then root
cannot login. Poof, you are locked out.

sh does not shared libs.

FWIW, bash can be built with static linking, but don't worry about that
just yet.

Thank You, 	| http://students.washington.edu/jcwells/
Jason Wells



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




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