From owner-freebsd-questions Sun Jan 9 11:11:44 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail-1.actllc.com (mail-1.actllc.com [209.221.160.11]) by hub.freebsd.org (Postfix) with ESMTP id 1CD0B14FEF for ; Sun, 9 Jan 2000 11:11:35 -0800 (PST) (envelope-from majid@ibroadcast.net) Received: from magic2 ([209.221.145.23]) by mail-1.actllc.com (8.9.3/8.9.1) with SMTP id LAA25254; Sun, 9 Jan 2000 11:15:53 -0800 Message-ID: <007f01bf5ad5$2288fc80$1791ddd1@balfourplace.com> From: "Majid Almassari" To: "Nelson" , References: <008f01bf5ad4$26c0a830$054f4fc6@NELSON> Subject: Re: messed up with root account. Date: Sun, 9 Jan 2000 11:09:59 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_007B_01BF5A92.11726D20" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_007B_01BF5A92.11726D20 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit Hi there, Boot in a singe user mode. (hit delete before the Kernel loads) then it will ask you what shell you want to use you can either specify the full bath of the shell you are using, i.e., /usr/local/bin/bash or just accept the default which I think is /bin/sh: once you did that you are logged in, correct the problem and reboot hopefully that helps. Majid Almassari, MSEE, MCP. System Administrator. iBroadcast, Inc. (206) 223-5540 http://www.ibroadcast.net ----- Original Message ----- From: Nelson To: FreeBSD-questions@FreeBSD.ORG Sent: Sunday, January 09, 2000 11:03 AM Subject: messed up with root account. 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 ------=_NextPart_000_007B_01BF5A92.11726D20 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable
Hi there,
Boot in a singe user mode. (hit delete = before the=20 Kernel loads) then it will ask you what shell you want to use you can = either=20 specify the full bath of the shell you are using, i.e., = /usr/local/bin/bash or=20 just accept the default which I think is /bin/sh: once you did that you = are=20 logged in, correct the problem and reboot hopefully that = helps.
 
Majid Almassari, MSEE, MCP.
System Administrator.
iBroadcast, = Inc.
(206) 223-5540
http://www.ibroadcast.net
----- Original Message -----
From:=20 Nelson
To: FreeBSD-questions@FreeBSD.ORG =
Sent: Sunday, January 09, 2000 = 11:03=20 AM
Subject: messed up with root=20 account.

Hi, all:
I changed the default shell of root to "bash" = from=20 "sh"
with "chsh" this command but I put the wrong=20 directory
path of bash in it.
 
ex: the directory path of bash should be"=20 /usr/local/bin/bash
     while I put it = as:=20 /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
------=_NextPart_000_007B_01BF5A92.11726D20-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message