From owner-freebsd-questions Mon Oct 21 19:41:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D27C437B401 for ; Mon, 21 Oct 2002 19:41:16 -0700 (PDT) Received: from otter.mills-atl.com (dsl-64-192-140-77.telocity.com [64.192.140.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0925843E7B for ; Mon, 21 Oct 2002 19:41:16 -0700 (PDT) (envelope-from jmmills@telocity.com) Received: from localhost (jmills@localhost) by otter.mills-atl.com (8.9.3/8.9.3) with ESMTP id WAA12916; Mon, 21 Oct 2002 22:42:57 -0400 X-Authentication-Warning: otter.mills-atl.com: jmills owned process doing -bs Date: Mon, 21 Oct 2002 22:42:57 -0400 (EDT) From: John Mills X-Sender: jmills@otter.mills-atl.com Reply-To: John Mills To: Bsd Neophyte Cc: freebsd-questions@FreeBSD.ORG Subject: Re: made a mistake with bash path... now i can't login In-Reply-To: <20021021212825.87801.qmail@web20108.mail.yahoo.com> Message-ID: 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 Hi - On Mon, 21 Oct 2002, Bsd Neophyte wrote: > i was changing the login shell from sh to bash... but i entered the wrong > location. now, i cannot login to the system using that account, which is > the only accout that i can su to root from. I followed the thread a while and it may be a solved issue now, but ... > does anyone know how i can resolve this issue w/o taking the system out of > the garage, booting into single user mode and manually changing the path? Depending on the permissions of the directories, could you do something like: 1) login as another ordinary user 2) copy the real shell under the directory and name you had incorrectly set 3) login under that account, using the 'classical' shell in its new, 'phony' location 4) become 'su' and fix things up Just a thought. - John Mills To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message