Date: Mon, 15 Jun 2009 15:27:43 +0200 From: Ruben de Groot <mail25@bzerk.org> To: Glen Barber <glen.j.barber@gmail.com> Cc: Unga <unga888@yahoo.com>, freebsd-questions@freebsd.org Subject: Re: Cannot login as root, exited on signal 11 Message-ID: <20090615132743.GA86767@ei.bzerk.org> In-Reply-To: <4ad871310906141311r3f0e9d8dne337db1b5bf8cb43@mail.gmail.com> References: <194669.83794.qm@web57002.mail.re3.yahoo.com> <4ad871310906141311r3f0e9d8dne337db1b5bf8cb43@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 14, 2009 at 04:11:12PM -0400, Glen Barber typed: > 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. Why reboot? You can "su -s /bin/tcsh" > This is one of the best reasons not to screw around with the root account. Agree. I should bookmark this thread for when (not if) this discussion comes up again. Ruben
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090615132743.GA86767>