From owner-freebsd-questions@FreeBSD.ORG Sun Jun 14 20:11:14 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 839D8106566C for ; Sun, 14 Jun 2009 20:11:14 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f206.google.com (mail-fx0-f206.google.com [209.85.220.206]) by mx1.freebsd.org (Postfix) with ESMTP id 112838FC3E for ; Sun, 14 Jun 2009 20:11:13 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: by fxm2 with SMTP id 2so26163fxm.43 for ; Sun, 14 Jun 2009 13:11:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xQnwlFatg2pVvQCFCTTAPPVUbuYEHjTlM4a7bdIk0Xk=; b=Q8gzF3It+8E4ktzynbGQfeG5Y+JZNEX1XMPkPWJDFEgpmYNSY40K7sAmXpG0YVx5G/ ojrYEilplW2TPPDmQ8k5zdt0Xj63kCKjnn9G/+8LffoI2dVYM4Bw/+LEdZDmNAi4iLM4 LqRNHvXZ7ObkJOhd/mYq1IzzdiJPMG0Odb6Hw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Y/tQxJ5xkiIoC8SJZdYKuMWJLg2/PS4pQ3qT0c/BHWqYDAUpByaxO+UwY3jAmi2wFN b1z5pkLe+fpfJrUdGa5GSVB4PPg5EwZqyv8UAmcB/tXdpkI9u4dPEVh9rbe3HJeZWiOL CO0Jvmxm5xoUKi1L+U+Vn+aP8LrO74OSOP3XY= MIME-Version: 1.0 Received: by 10.204.115.143 with SMTP id i15mr6266846bkq.103.1245010272888; Sun, 14 Jun 2009 13:11:12 -0700 (PDT) In-Reply-To: <194669.83794.qm@web57002.mail.re3.yahoo.com> References: <194669.83794.qm@web57002.mail.re3.yahoo.com> Date: Sun, 14 Jun 2009 16:11:12 -0400 Message-ID: <4ad871310906141311r3f0e9d8dne337db1b5bf8cb43@mail.gmail.com> From: Glen Barber To: Unga Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2009 20:11:15 -0000 On Sun, Jun 14, 2009 at 9:06 AM, Unga wrote: > > Hi all > > This is FreeBSD 7.2 on i386. > > After a custom compiled from sources installation, root cannot log in but normal users can log in. > > Here are the messages in /var/log/messages: > Jun 14 00:44:58 xxx login: ROOT LOGIN (root) ON ttyv0 > Jun 14 00:44:58 xxx kernel: pid 757 (login), uid 0: exited on signal 11 > Jun 14 00:45:00 xxx kernel: pid 760 (cron), uid 0: exited on signal 11 (core dumped) > > Note, cron also fails. > > When try to log in, it checks the password correctly, ie. if I type a wrong password for root, it says "Incorrect ...", but when type the correct password, it simply come out and prompts the login prompt. > > It looks like something is missing required for the root to log in. I'm using bash shell. Any ideas? I'll make the (probably correct) assumption that you've changed root's default shell to bash. If so, reboot into single-user mode, and change it back. This is one of the best reasons not to screw around with the root account. -- Glen Barber