From owner-freebsd-questions@FreeBSD.ORG Tue Jun 16 15:24:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 876CC1065694 for ; Tue, 16 Jun 2009 15:24:07 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id 5FDFA8FC16 for ; Tue, 16 Jun 2009 15:24:06 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 28280 invoked from network); 16 Jun 2009 15:24:06 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 16 Jun 2009 15:24:06 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 60D1F50852; Tue, 16 Jun 2009 11:24:05 -0400 (EDT) To: Unga References: <633585.69987.qm@web57006.mail.re3.yahoo.com> From: Lowell Gilbert Date: Tue, 16 Jun 2009 11:24:05 -0400 In-Reply-To: <633585.69987.qm@web57006.mail.re3.yahoo.com> (Unga's message of "Tue\, 16 Jun 2009 08\:11\:47 -0700 \(PDT\)") Message-ID: <44hbygw6ay.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Cannot login as root, exited on signal 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2009 15:24:08 -0000 Unga writes: > If you refer that I use bash for root is the problem, there is no difference by switching root's shell to sh. > > With sh as the shell for root: > 1. Still cannot login as root from the console. Child process died error. > > 2. "su -l" doesn't work, child process died error. > > 3. su works. But the prompt is [\u@host name]# > Why it doesn't print root@host? whoami shows root. > > What is the problem you think that I should fix? any ideas? any thread related error as the child process die when in root? Another thing to check is the login files. For /bin/sh, I think that would be /etc/profile, /root/.profile, anything that ENV might be set to. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/