From owner-freebsd-questions Tue Oct 3 17:35:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from damoe.wireless-isp.net (damoe.wireless-isp.net [208.61.227.212]) by hub.freebsd.org (Postfix) with ESMTP id 5472D37B66C for ; Tue, 3 Oct 2000 17:35:28 -0700 (PDT) Received: (from amavis@localhost) by damoe.wireless-isp.net (8.9.3/8.9.3) id UAA28255 for ; Tue, 3 Oct 2000 20:35:45 -0400 (EDT) (envelope-from keen@damoe.wireless-isp.net) Received: from localhost (keen@localhost) by damoe.wireless-isp.net (8.9.3/8.9.3) with ESMTP id UAA28017; Tue, 3 Oct 2000 20:35:42 -0400 (EDT) (envelope-from keen@damoe.wireless-isp.net) X-Authentication-Warning: damoe.wireless-isp.net: keen owned process doing -bs Date: Tue, 3 Oct 2000 20:35:42 -0400 (EDT) From: David Raistrick To: Loren Koss Cc: freebsd-questions@freebsd.org Subject: Re: I deleted my shell by mistake!! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 3 Oct 2000, Loren Koss wrote: > mode? Am I totally F*cked??? No. If you cant su, then you need to get (or get someone too..) the console, and reboot into single user. hit enter when it asks for what shell to use, to use the default of /bin/sh if you shut down cleanly (a three finger salute will do this, even without root access, unless you disabled it..), a mount -a should get everything mounted and usable. (mount -fw / will get / writable if mount -a doesnt...its been a while..) vipw should let you go in and set your root shell to /bin/sh (or /bin/csh..whathaveyou). get back to multiuser and reinstall that port, and you should be fine. later...david -- David Raistrick Digital Wireless Communications davidr@dwcinet.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message