From owner-freebsd-questions@FreeBSD.ORG Wed Aug 9 01:24:05 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 1D9CC16A546 for ; Wed, 9 Aug 2006 01:24:05 +0000 (UTC) (envelope-from freebsd.ph@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B23643E07 for ; Wed, 9 Aug 2006 01:23:30 +0000 (GMT) (envelope-from freebsd.ph@gmail.com) Received: by nf-out-0910.google.com with SMTP id g2so480296nfe for ; Tue, 08 Aug 2006 18:23:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=SXP0VcTkbcOYjTkV3dlZaDeeImsuwUc+wRZYAvSC6Mk38dyFwQ0C5is4Z22oGo2fE2uUdeZV7YUVoXjL7srapOz0nABmXePsOBFCq1rZTpQYqUOcE0A2xCG/aDsLyz8jmsXuOsq8vENMsmByccIkakInIS9ldVmPkmBpEk/AT2Q= Received: by 10.78.160.2 with SMTP id i2mr90197hue; Tue, 08 Aug 2006 18:23:10 -0700 (PDT) Received: by 10.78.176.8 with HTTP; Tue, 8 Aug 2006 18:23:09 -0700 (PDT) Message-ID: Date: Wed, 9 Aug 2006 09:23:09 +0800 From: "jan gestre" To: ross In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-questions@freebsd.org" Subject: Re: Changing root's shell 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: Wed, 09 Aug 2006 01:24:05 -0000 On 8/9/06, ross wrote: > > so it seems changed root login's shell to /usr/bin/bash which doesn't > exist. now I can't login to root at all. Oh yes, sudo isn't installed. How > would you grand masters of FreeBSD fix my embarrasing mistake. > > Thanks! > > -- > login using single user mode during bootup then revert back to old shell using: # pw user mod root -s /bin/csh since your familiar with bash you can make csh behave like bash by editing .cshrc and adding set autolist. HTH