X kills su

Robert William Vesterman bob at vesterman.com
Sun Dec 19 06:24:14 PST 2004


J65nko BSD wrote:

>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?
>>    
>>
>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 :)
>
I did change it recently (to ksh93), but changing it back to /bin/sh did 
not help.  Thanks, though.

Any other ideas?

Thanks,

Bob Vesterman.


More information about the freebsd-questions mailing list