From owner-freebsd-questions Sun Jan 28 06:49:38 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA10845 for questions-outgoing; Sun, 28 Jan 1996 06:49:38 -0800 (PST) Received: from cocoa.ops.neosoft.com (root@cocoa.ops.neosoft.com [206.109.5.227]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA10838 for ; Sun, 28 Jan 1996 06:49:31 -0800 (PST) Received: (from dbaker@localhost) by cocoa.ops.neosoft.com (8.6.12/8.6.12) id IAA27228; Sun, 28 Jan 1996 08:49:11 -0600 Date: Sun, 28 Jan 1996 08:49:10 -0600 (CST) From: Daniel Baker X-Sender: dbaker@cocoa.ops.neosoft.com To: Keith Leonard cc: questions@freebsd.org Subject: Re: Help - I'm locked out and don't know how to get in!!! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Sat, 27 Jan 1996, Keith Leonard wrote: > Anyone, > I had just changed my shell (to bash) which I assumed (yes I know) was > there because I had added it during the initial installation. My son > interrupted me, a movie caught my eye, an hour or so latter BSD had > autologged me out. Needless to say bash wasn't were it was suppose to be > in /usr/bin ( because I hadn't had time to check it before I was logged > out). Now when I try to log in as root with the right password BSD tells > me that bash isn't in /usr/bin and loops me back to the login prompt. I > tried booting single user mode but that only allows me to check the > filesystem and look around (ro), so I can't change anything. Get into single user mode and do a mount / mount /usr which will mount your root partition as read-write and same with your user partition. > > No, I don't have a fixit disk or emergency boot disk (bad boy, get in the > corner and don't come out until you repent). I swear if somebody can get > me back in I'll correct the oversite immediately and never let this happen > again. If you haven't guessed - I new to FreeBSD. Then you should be able to change your shell with chpass to another one. BTW, you might need to do a umount /usr before you exit single user mode, as it might try and mount it again and not be able to. > > Keith > keithl@gil.net > Daniel -- Daniel Baker - Daniel@Cuckoo.COM "Huhuhu, thank you, drive through please"