From owner-freebsd-questions Sun Jan 9 11:10:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp10.atl.mindspring.net (smtp10.atl.mindspring.net [207.69.200.246]) by hub.freebsd.org (Postfix) with ESMTP id 640BC15379 for ; Sun, 9 Jan 2000 11:10:35 -0800 (PST) (envelope-from stuyman@confusion.net) Received: from confusion.net (user-2iveas4.dialup.mindspring.com [165.247.43.132]) by smtp10.atl.mindspring.net (8.9.3/8.8.5) with ESMTP id OAA27890; Sun, 9 Jan 2000 14:10:29 -0500 (EST) Message-ID: <3878DD06.8DD09098@confusion.net> Date: Sun, 09 Jan 2000 14:09:58 -0500 From: Laurence Berland Organization: B.R.A.T.T. X-Mailer: Mozilla 4.5 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: Nelson Cc: FreeBSD-questions@FreeBSD.ORG Subject: Re: messed up with root account. References: <008f01bf5ad4$26c0a830$054f4fc6@NELSON> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You can either reboot into single mode, where it will ask you which shell to use explicitly, or log in as a normal user and su -m to root. After you do one of those, chsh the shell back to what it should be. > Nelson wrote: > > Hi, all: > I changed the default shell of root to "bash" from "sh" > with "chsh" this command but I put the wrong directory > path of bash in it. > > ex: the directory path of bash should be" /usr/local/bin/bash > while I put it as: /bin/bash > > Now I can't login as root or su as root. > I am new to BSD and please help~ > Thanks a lot! > Nelson -- Laurence Berland, Stuyvesant HS Debate <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> Windows 98: n. useless extension to a minor patch release for 32-bit extensions and a graphical shell for a 16-bit patch to an 8-bit operating system originally coded for a 4-bit microprocessor, written by a 2-bit company that can't stand for 1 bit of competition. http://stuy.debate.net icq #7434346 aol imer E1101 The above email Copyright (C) 1999 Laurence Berland All rights reserved To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message