From owner-freebsd-questions Tue Jun 5 14:20:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web10004.mail.yahoo.com (web10004.mail.yahoo.com [216.136.130.40]) by hub.freebsd.org (Postfix) with SMTP id 9E51037B401 for ; Tue, 5 Jun 2001 14:20:17 -0700 (PDT) (envelope-from bud_roth@yahoo.com) Message-ID: <20010605212017.45515.qmail@web10004.mail.yahoo.com> Received: from [206.181.243.34] by web10004.mail.yahoo.com; Tue, 05 Jun 2001 14:20:17 PDT Date: Tue, 5 Jun 2001 14:20:17 -0700 (PDT) From: Bud Roth Subject: hacked /etc/passwd and can't reboot To: questions@freebsd.org Cc: Gary Nye In-Reply-To: <3B1D495A.223E1EE1@consys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 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