From owner-freebsd-questions Mon Oct 19 02:12:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA09631 for freebsd-questions-outgoing; Mon, 19 Oct 1998 02:12:24 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from runner.jjsoft.com (jahanur.intur.net [206.97.149.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA09619 for ; Mon, 19 Oct 1998 02:12:19 -0700 (PDT) (envelope-from " jahan"@pc.jaring.my) Received: from pc.jaring.my (klj-19-161.tm.net.my [202.188.19.161]) by runner.jjsoft.com (8.9.0/8.9.0) with ESMTP id EAA08157 for ; Mon, 19 Oct 1998 04:11:23 -0500 (CDT) Message-ID: <362A61CC.9C65B106@pc.jaring.my> Date: Sun, 18 Oct 1998 14:46:52 -0700 From: Jahan <" jahan"@pc.jaring.my> Reply-To: jahan@pc.jaring.my X-Mailer: Mozilla 4.06 [en] (Win98; I) MIME-Version: 1.0 To: "freebsd-questions@FreeBSD.ORG" Subject: Re: An SU executable References: <199810170242.WAA16760@federation.addy.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 1. Make boot floppy 2. Make fixit floppy 3. Insert boot floppy in drive A and reboot 4. Go to Fix it 5. select floppy 6. insert fixit floppy and press enter 7. go to ALT+F4 8. mount /dev/wd0a mnt ( if your root is not wd0a then change it too something correct , you can see the boot:[wd(x,x)/kernel on your bootup) 9. mount /dev/wd0s1f mnt2 10. now goto mnt2 directory and execute mv usr/lib2 usr/lib Enjoy. Jahan Francisco Reyes wrote: > > On 17-Oct-98 Larry Michel wrote: > > 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. I > > Do you have a fixit floppy or the CDroms? > you could boot from them, mount the partition and rename the > directory. > > Also... I don't know if would help but.... > try booting single user "-s", mount /usr and see if you can then rename > the directory. > > ---- > francisco@natserv.com > The power to serve. http://www.freebsd.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message