Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2009 08:11:47 -0700 (PDT)
From:      Unga <unga888@yahoo.com>
To:        freebsd-questions@freebsd.org
Cc:        Tim Judd <tajudd@gmail.com>
Subject:   Re: Cannot login as root, exited on signal 11
Message-ID:  <633585.69987.qm@web57006.mail.re3.yahoo.com>

index | next in thread | raw e-mail


--- On Tue, 6/16/09, Tim Judd <tajudd@gmail.com> wrote:

> From: Tim Judd <tajudd@gmail.com>
> Subject: Re: Cannot login as root, exited on signal 11
> To: "Unga" <unga888@yahoo.com>
> Cc: freebsd-questions@freebsd.org, mail25@bzerk.org
> Date: Tuesday, June 16, 2009, 10:10 PM
> su -l discards the previous
> environment and loads a new environment.
> It's as if you're "logging in" as root (-l)
> 
> running su without -l will elevate your priveledges without
> this same
> problem, you keep the same shell.  Fix your shell
> problems via this
> way (or single user as originally described), and be
> careful next
> time.
> 

Hi Tim, thanks for the reply. I have not identified yet the problem to be solved.

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? 

Best regards
Unga










help

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