From owner-freebsd-stable Sat Jun 5 9: 0:44 1999 Delivered-To: freebsd-stable@freebsd.org Received: from tranq1.tranquility.net (tranq1.tranquility.net [206.156.230.1]) by hub.freebsd.org (Postfix) with ESMTP id B406C14F1D for ; Sat, 5 Jun 1999 09:00:42 -0700 (PDT) (envelope-from stephen@math.missouri.edu) Received: from math.missouri.edu (stephen.tranquility.net [206.156.230.78]) by tranq1.tranquility.net (8.9.2/8.9.2) with ESMTP id LAA27704; Sat, 5 Jun 1999 11:00:39 -0500 (CDT) Message-ID: <375949AC.8B552A6C@math.missouri.edu> Date: Sat, 05 Jun 1999 11:00:44 -0500 From: Stephen Montgomery-Smith X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 3.2-STABLE i386) MIME-Version: 1.0 To: Shashi Joshi Cc: freebsd-stable@freebsd.org Subject: Re: 2.2.7 -> 3.2 STABLE upgrade changes root password??? References: <37591AC9.B7C29EB2@math.missouri.edu> <19990605094819.A29269@WEBSI.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Shashi Joshi wrote: > > Another explanation that may be correct is the shell of root. I had > /bin/tcsh as the default shell for all accounts. I checked that the > aout -> elf did NOT generate a new tcsh (since it is a port) so > that is sitting in the aout format. > OK, I guess that at some time you did cp /usr/local/bin/tcsh /bin Did you also make sure that tcsh was statically linked? It is not so by default, so if it is not statically built, then if your /usr is not mounted, then tcsh won't work bacause it won't find the run time libraries. It is quite easy to build tcsh statically. cd /usr/ports/shells/tcsh/ make cd work/tcsh* rm tcsh sed "s/{CC} -o tcsh/{CC} -static -o tcsh/" < Makefile > MMM mv MMM Makefile make Now you have a statically built tcsh in your current directory. Well, I might not have done that the "correct" way. I would be interested to know. -- Stephen Montgomery-Smith stephen@math.missouri.edu 307 Math Science Building stephen@showme.missouri.edu Department of Mathematics stephen@missouri.edu University of Missouri-Columbia Columbia, MO 65211 USA Phone (573) 882 4540 Fax (573) 882 1869 http://math.missouri.edu/~stephen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message