From owner-freebsd-questions Mon Oct 21 15: 8:59 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 2204A37B401 for ; Mon, 21 Oct 2002 15:08:58 -0700 (PDT) Received: from deter.dk (port74.ds1-oebr.adsl.cybercity.dk [212.242.49.77]) by mx1.FreeBSD.org (Postfix) with SMTP id 709C243E6E for ; Mon, 21 Oct 2002 15:08:56 -0700 (PDT) (envelope-from no-spam@deter.dk) Received: (qmail 69052 invoked by uid 1001); 21 Oct 2002 22:09:51 -0000 Date: Tue, 22 Oct 2002 00:09:51 +0200 From: Morten Grunnet Buhl To: freebsd-questions@freebsd.org Subject: Re: made a mistake with bash path... now i can't login Message-ID: <20021021220951.GA68907@deter.dk> Reply-To: freebsd-questions@freebsd.org Mail-Followup-To: freebsd-questions@freebsd.org References: <20021021212825.87801.qmail@web20108.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021021212825.87801.qmail@web20108.mail.yahoo.com> X-Operating-System: FreeBSD 4.6-STABLE on a i386 X-Uptime: 11:39PM up 7 days, 6:51, 5 users, load averages: 0.00, 0.00, 0.00 User-Agent: Mutt/1.5.1i 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 Bsd Neophyte (bsdneophyte@yahoo.com) 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. > > 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? Do you have local access to the machine? if so cant you just log in as root? Or have I misunderstood this question completely? It has been ages since I have used su (I use sudo) but as I recall you have to have the root password so login in locally as root shouldnt be a problem? I hope this helps. -- DetEr.dk - Rules are made to control the fun. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message