From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 19:24:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF5B5106569E; Tue, 14 Oct 2008 19:24:28 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 738698FC1F; Tue, 14 Oct 2008 19:24:28 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m9EJM8KM009102; Tue, 14 Oct 2008 15:22:08 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m9EJM8I6009101; Tue, 14 Oct 2008 15:22:08 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 14 Oct 2008 15:22:08 -0400 From: Jerry McAllister To: Aniruddha Message-ID: <20081014192208.GB8930@gizmo.acns.msu.edu> References: <1224008893.4098.6.camel@debian> <20081014183730.GA56634@icarus.home.lan> <1224011858.4032.1.camel@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1224011858.4032.1.camel@debian> User-Agent: Mutt/1.4.2.2i Cc: Jeremy Chadwick , freebsd-questions@freebsd.org Subject: Re: Can't login as root after changing the shell to bash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 19:24:28 -0000 On Tue, Oct 14, 2008 at 09:17:38PM +0200, Aniruddha wrote: > On Tue, 2008-10-14 at 11:37 -0700, Jeremy Chadwick wrote: > > On Tue, Oct 14, 2008 at 08:28:13PM +0200, Aniruddha wrote: > > > I tried to change the root's shell to bash. I used this command: 'chsh > > > -s /usr/local/bin/bash'. Prior to changing the shell for root I did it > > > for my user account using the same command without problems. > > > Unfortunately after a reboot I can't login as root anymore because my > > > system can't find /usr/local/bin/bash. > > > > I can't explain why your systems says it can't find /usr/local/bin/bash. > > I would assume you also cannot log in as yourself. > > Thanks for your help! I changed the default shell back to /bin/csh but I > still can't login as root?! I get the same message (can't > find /bin/csh). Your path is most likely screwed up. Probably it never got set correctly. Can you reboot? ////jerry > > -- > Regards, > > Aniruddha > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"