X kills su

J65nko BSD j65nko at gmail.com
Sat Dec 18 10:14:49 PST 2004


On Sat, 18 Dec 2004 11:31:24 -0500, Robert William Vesterman
<bob at 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 :)


More information about the freebsd-questions mailing list