From owner-freebsd-questions Tue Oct 3 17: 8:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id ADBC437B502 for ; Tue, 3 Oct 2000 17:08:25 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e9408Nk17166; Tue, 3 Oct 2000 17:08:23 -0700 (PDT) Date: Tue, 3 Oct 2000 17:08:23 -0700 From: Alfred Perlstein To: Loren Koss Cc: freebsd-questions@FreeBSD.ORG Subject: Re: I deleted my shell by mistake!! Message-ID: <20001003170823.R27736@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from loren@pciway.com on Tue, Oct 03, 2000 at 04:54:28PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Loren Koss [001003 16:53] wrote: > 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!!! if you have a root shell open all you need to do is run 'vipw' don't don't change root's shell! -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message