Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2001 08:53:31 -0800 (PST)
From:      Larry Librettez <lipshitz909@yahoo.com>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        freebsd-qa@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: 4.3-BETA won't su to root in X terminal
Message-ID:  <20010322165331.97337.qmail@web13208.mail.yahoo.com>
In-Reply-To: <Pine.NEB.3.96L.1010322103708.10372C-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you for sharing your insights.  It is not
everyday that one is given the priviledge of sharing
in the wisdom of a core developer.

> Can we pursuade you to
> update to the next
> snapshot and see if the problem goes away?

Yes, I'll give it a try, but I am already up to 4.3-RC
and it still happens.


> There are a few other things you
> might try, including
> starting X as the root user, and seeing if (a) you
> can su to other users
> properly, and (b) if you su to another user, whether
> you can su back to
> root properly.  

Doing what you described, I was able to accomplish
both (a) and (b) without problems.  It is only as a
regular user (who is a member of the wheel group) that
the problem arises.

> Also, run "id" as the normal user
> and verify that your
> groups are being properly picked up when xterm
> starts.  

Yes, all groups are shown, including wheel, for the
regular user.

> Try removing the
> setuid bit from xterm if not, and see if that helps.

Tried it, but still no change.


> Also, what version of 2.2 did you upgrade from?  If
> it's still on the
> snapshot server, I could try installing that, then
> doing the upgrade, and
> see if I get the same problem. 

This system was originally installed as 4.2-RELEASE
from a cd.  It was subsequently upgraded to
4.2-STABLE, then 4.3-BETA and now it is 4.3-RC.  The
problem arose after the transition from 4.2-STABLE to
4.3-BETA.  Also strange, is if I boot the 4.2-STABLE
kernel (kernel.old) within 4.3-RC userland, the
problem goes away - I CAN su to root within an X
terminal!

This also is strange - from within X (4.3-RC kernel +
4.3-RC userland), if I start gnome-terminal, I CAN su
to root in that terminal window.  If I start xterm or
rxvt, I cannot.  However, if I start rxvt or xterm
from WITHIN a gnome-terminal as regular user (i.e.
'rxvt &' or 'xterm &'), I CAN su to root from within
that rxvt or xterm!  Strange!

So for now, I have resorted to using gnome-terminal as
my X terminal of choice.  Do you have any other ideas?

Thanks in advance.

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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