From owner-freebsd-questions Sun Jan 28 00:33:22 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA04198 for questions-outgoing; Sun, 28 Jan 1996 00:33:22 -0800 (PST) Received: from starfleet.gov (root@ix-sb1-09.ix.netcom.com [204.32.201.41]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id AAA04193 for ; Sun, 28 Jan 1996 00:33:20 -0800 (PST) Received: (from d_burr@localhost) by starfleet.gov (8.6.11/8.6.9) id AAA00370; Sun, 28 Jan 1996 00:33:11 -0800 Date: Sun, 28 Jan 1996 00:33:10 -0800 (PST) From: Donald Burr X-Sender: d_burr@starfleet.gov 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: > 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. Boot single-user, and type "mount /". This will remount it read/write. Then run vi or whatever on /etc/passwd and change it. Bash (at least the packages/ports version) installs into /usr/local/bin/bash. (note in order to access vi, other editors, etc, you MAY have to mount /usr, if you installed it as a separate partition, so just type "mount /usr"). Donald Burr [d_burr@ix.netcom.com], PO Box 91212, Santa Barbara CA 93190-1212 TEL (805)564-1871 / FAX 564-2315 / WWW http://www.geopages.com/WallStreet/2072 PGP Public Key available by request (send e-mail) or on Public Key Servers. ** Uphold your right to privacy - Use PGP. **