Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 1998 10:38:32 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Larry Michel <lmicuf@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: An SU executable
Message-ID:  <Pine.BSF.4.03.9810191037470.28969-100000@resnet.uoregon.edu>
In-Reply-To: <19981017011137.909.qmail@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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