From owner-freebsd-questions Mon Mar 11 9:26:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from swansea.cableinet.net (swansea.cableinet.net [194.117.142.65]) by hub.freebsd.org (Postfix) with ESMTP id BE89137B416 for ; Mon, 11 Mar 2002 09:25:35 -0800 (PST) Received: by swansea.cableinet.net (Postfix, from userid 1001) id 35B7F228423; Mon, 11 Mar 2002 17:25:21 +0000 (GMT) Date: Mon, 11 Mar 2002 17:25:21 +0000 From: Burhan Nazir To: FreeBSD Cc: Free BSD Questions Subject: Re: root Error Message-ID: <20020311172521.GZ19997@swansea.cableinet.net> References: <001401c1c91c$67e36e70$29821304@crashbox> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001401c1c91c$67e36e70$29821304@crashbox> User-Agent: Mutt/1.3.27i 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 Kevin, It seems that you do not have csh installed on your system. You have two options: 1) Install csh so that you can get to root. Or, the hard way... 2) Drop yourself into single user mode, mount the root partition, edit your /etc/paswwd file and change the root login shell to a shell that you have installed, for example /bin/sh or /usr/local/bin/bash. Reboot the system and you should be able to get back to root. Although, I do find it odd that your system does not alreday have /bin/csh already installed.... -Burhan FreeBSD wrote: > Delivered-To: postmaster@swansea.cableinet.net > Delivered-To: freebsd-questions@freebsd.org > From: "FreeBSD" > To: "Free BSD Questions" > Subject: root Error > Date: Mon, 11 Mar 2002 11:47:17 -0500 > X-Priority: 3 > X-MSMail-Priority: Normal > X-Mailer: Microsoft Outlook Express 6.00.2600.0000 > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 > List-ID: > List-Archive: (Web Archive) > List-Help: (List Instructions) > List-Subscribe: > List-Unsubscribe: > X-Loop: FreeBSD.ORG > Precedence: bulk > > Hi all. We have a Free BSD 4.3 machine setup that we are going to get > working > to do bandwidth limiting and bridging. One day last week I tried to telnet > into > the machine from home. I logged in and tried to su into root and got this > error- > > su: /bin/csh: No such file or directory > > So I figured telnet wasn't working correctly. So the next day I tried to > log into the > box directly, as root, and it gave me the same "/bin/csh: No such file or > directory" error. > > Is there a way to fix this without too much hassel? Thanks in advance to > anyone > who can help me. > > > Kevin Aug > -Web Designer > http://www.datalinkny.com > http://www.datalinkwireless.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message