Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Dec 2004 19:14:47 +0100
From:      J65nko BSD <j65nko@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: X kills su
Message-ID:  <19861fba0412181014a473951@mail.gmail.com>
In-Reply-To: <41C45B5C.9030307@vesterman.com>
References:  <41C45B5C.9030307@vesterman.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 18 Dec 2004 11:31:24 -0500, Robert William Vesterman
<bob@vesterman.com> wrote:
> After I exit from X windows, I no longer have the ability to su (to
> root, at least).  It doesn't even ask for my password - it just
> immediately says "bad su from myacct to root".
> 
> If I then "exit", and immediately log back in as myacct, I am able to su
> to root no problem.
> 
> I am running 5.3-STABLE, and the latest X (or very, very near it).  It
> happens with at least two distinct WMs (Window Maker and Fluxbox).
> 
> Any idea? Or any further information I can provide?
> 
> Thanks,
> 
> Bob Vesterman.

Did you change your root shell recently?

Somebody on the list reported about the systems inability to run ppp
from boot-up. His problem was caused by using bash as the root shell.
Restoring "sh" as the root shell fixed it :)



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