From owner-freebsd-questions Mon Oct 19 10:39:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA27507 for freebsd-questions-outgoing; Mon, 19 Oct 1998 10:39:17 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA27499 for ; Mon, 19 Oct 1998 10:39:15 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id KAA06877; Mon, 19 Oct 1998 10:38:33 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Mon, 19 Oct 1998 10:38:32 -0700 (PDT) From: Doug White To: Larry Michel cc: freebsd-questions@FreeBSD.ORG Subject: Re: An SU executable In-Reply-To: <19981017011137.909.qmail@hotmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 16 Oct 1998, Larry Michel wrote: > To whom it may concern, > I have FreeBSD on my machine, and it was doing great until I got > careless. I was trying to see which shared libraries some of my > executable in /usr/bin were using, and I accidentally exited my root > shell after renaming /usr/lib to /usr/lib2. The problem is now that su, > telnet and other utilities such as cc, rlogin do not work anymore. Drop the system into single user mode (boot with the -s flag) and move the directory back. /bin/sh and friends are statically linked. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message