From owner-freebsd-questions Sun Apr 19 10:10:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA18657 for freebsd-questions-outgoing; Sun, 19 Apr 1998 10:10:52 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from pigstuy ([207.113.85.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA18528 for ; Sun, 19 Apr 1998 17:10:35 GMT (envelope-from spork@cncn.com) Received: from localhost (spork@localhost) by pigstuy (8.8.7/8.8.7) with SMTP id NAA00512; Sun, 19 Apr 1998 13:08:34 -0400 (EDT) (envelope-from spork@cncn.com) X-Authentication-Warning: pigstuy: spork owned process doing -bs Date: Sun, 19 Apr 1998 13:08:24 -0400 (EDT) From: Spike Gronim X-Sender: spork@pigstuy Reply-To: spork To: emk cc: freebsd Subject: Re: can't log in as root -- please help In-Reply-To: <353A2E88.4A605EB@depeche-mode.com> 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 Sun, 19 Apr 1998, emk wrote: > hello everyone.. > > call it beginner's bad luck but i made a booboo last night. i changed > the default shell for root to tcsh instead of csh. i *thought* i had > tcsh installed on my machine but unfortunately.. it is not. so now > when i try to log in as root, it says: "/bin/tcsh does not exist" hence > i can't login. after that message, i'm faced with the login prompt > again. i tried using one of my other accounts and changing it to > superuser but i get the same error and can't change to superuser. > > do i need to re-install freebsd? my version is freebsd 2.2.5 > > thanks > > Metin DONT REINSTALL! You don't need to. Reboot the computer. At the "boot:" prompt type "-s" When it says "Type shell path or enter for sh" Or sometihng similar, type enter. type "fsck /" "mount -w /" "fsck /usr" "mount -w /usr" then, type chfn and change your shell to a valid one. -Spike Gronim spork@cncn.com "Hacker, n: One who hacks real good" --Computer Contradictionary To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message