Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Dec 2004 09:36:47 -0500
From:      Robert William Vesterman <bob@vesterman.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: X kills su
Message-ID:  <41C591FF.6020209@vesterman.com>
In-Reply-To: <19861fba0412181014a473951@mail.gmail.com>
References:  <41C45B5C.9030307@vesterman.com> <19861fba0412181014a473951@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
J65nko BSD wrote:

>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?
>>    
>>
>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.



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