Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2009 16:11:12 -0400
From:      Glen Barber <glen.j.barber@gmail.com>
To:        Unga <unga888@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Cannot login as root, exited on signal 11
Message-ID:  <4ad871310906141311r3f0e9d8dne337db1b5bf8cb43@mail.gmail.com>
In-Reply-To: <194669.83794.qm@web57002.mail.re3.yahoo.com>
References:  <194669.83794.qm@web57002.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 14, 2009 at 9:06 AM, Unga<unga888@yahoo.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ad871310906141311r3f0e9d8dne337db1b5bf8cb43>