From owner-freebsd-questions Fri Feb 22 10:45:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from be-well.ilk.org (lowellg.ne.mediaone.net [24.147.188.158]) by hub.freebsd.org (Postfix) with ESMTP id 167AE37B41C for ; Fri, 22 Feb 2002 10:45:07 -0800 (PST) Received: (from lowell@localhost) by be-well.ilk.org (8.11.6/8.11.4) id g1MIj4x03468; Fri, 22 Feb 2002 13:45:04 -0500 (EST) (envelope-from lowell@world.std.com) X-Authentication-Warning: be-well.ilk.org: lowell set sender to lowell@world.std.com using -f To: freebsd-questions@freebsd.org, messmate@free.fr Subject: Re: shell References: <20020222105518.540E517F07@postfix3-2.free.fr> From: Lowell Gilbert Date: 22 Feb 2002 13:45:03 -0500 In-Reply-To: <20020222105518.540E517F07@postfix3-2.free.fr> Message-ID: <44y9hls6ds.fsf@lowellg.ne.mediaone.net> Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 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 mess-mate writes: > Hello all, > I did a mistake when chaning my shell. > Did a chsh and would change chsh to bash in vi. > Vi is not my favorite editer. > So an escape : w must write the changes, isn't. > Something goes wrong and now I'm without a shell and can no more > login as ROOT . > No su as user (wheel permission) also of course. > Is ther any way to restore my shell ? > Thanks in advance. This is a Frequently Asked Question. "I made a mistake in rc.conf, or another startup file, and now I cannot edit it because the filesystem is read-only. What should I do?" http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#RCCONF-READONLY To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message