From owner-freebsd-questions Wed Jun 6 5:14:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from webserver.rtl.org (webserver2.rtl.org [63.94.12.188]) by hub.freebsd.org (Postfix) with ESMTP id EF4F437B401 for ; Wed, 6 Jun 2001 05:14:17 -0700 (PDT) (envelope-from jstewart@rtl.org) Received: from MIS3C.rtl.org ([63.106.163.130]) by webserver.rtl.org (Switch-2.0.0/Switch-2.0.0) with ESMTP id f56CFXn21200; Wed, 6 Jun 2001 08:15:33 -0400 Message-Id: <5.0.2.1.0.20010606081542.02c62508@63.94.12.188> X-Sender: jstewart@63.94.12.188 X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Wed, 06 Jun 2001 08:17:21 -0400 To: Bud Roth , questions@FreeBSD.ORG From: Jason Stewart Subject: Re: hacked /etc/passwd and can't reboot Cc: Gary Nye In-Reply-To: <20010605212017.45515.qmail@web10004.mail.yahoo.com> References: <3B1D495A.223E1EE1@consys.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG If you installed bash from the ports collection, it would be in /usr/local/bin/bash. Good Luck, Jason Stewart At 02:20 PM 6/5/2001 -0700, Bud Roth wrote: >I wanted FreeBSD to boot into bash, not sh, so I >changed the default shell for the two users on my >system (bud and root) in the file /etc/passwd from >/bin/sh to /bin/bash. Stupid me. Either bash is not >in /bin or it just won't work. The result is that I >cannot log in. How can I either reboot off of a >floppy and edit passwd to take out the offensive "ba" >or use the command prompt that FreeBSD temporarily >gives me when booting up to do the same? > >Silly mistake on my part, I confess. 8-( > >Any help would be most appreciated. > >Bud > >__________________________________________________ >Do You Yahoo!? >Get personalized email addresses from Yahoo! Mail - only $35 >a year! http://personal.mail.yahoo.com/ > >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