Date: Mon, 21 Oct 2002 22:42:57 -0400 (EDT) From: John Mills <jmmills@telocity.com> To: Bsd Neophyte <bsdneophyte@yahoo.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: made a mistake with bash path... now i can't login Message-ID: <Pine.LNX.4.21.0210212237520.12833-100000@otter.mills-atl.com> In-Reply-To: <20021021212825.87801.qmail@web20108.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0210212237520.12833-100000>