From owner-freebsd-questions Tue Oct 3 17:11:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from munich.v-net.org (u57n248.hfx.eastlink.ca [24.222.57.248]) by hub.freebsd.org (Postfix) with ESMTP id 191D337B503 for ; Tue, 3 Oct 2000 17:11:12 -0700 (PDT) Received: from unisys (Windozzze [192.168.8.2]) by munich.v-net.org (8.9.3/8.9.3) with SMTP id VAA39965; Tue, 3 Oct 2000 21:10:52 -0300 (ADT) (envelope-from matt@researcher.com) From: "Matt Rudderham" To: "Loren Koss" , Subject: RE: I deleted my shell by mistake!! Date: Tue, 3 Oct 2000 21:10:11 -0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >So, I have a current connection that works, but now all new connections >are getting declined because somehow (i think it was when i re-cvsuped by >source) my /usr/local/bin/tcsh is gone.. so.. now i cant connect because >it says the file is gone.. The real stinker is that i made the root shell >TCSH as well.. Please tell me there is something I can do.. like somehow >executing a command like VI to edit the passwd file and change the shell >of this user and root.. Please tell me I aint screwed!!! > >Thanks >Loren You ain't screwed. Try chsh root assuming you are logged in as root or su'd. I assume restoring the shell from ports (/usr/ports/shells/tcsch) should restore your shell. - Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message