From owner-freebsd-questions Thu Mar 22 8:53:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web13208.mail.yahoo.com (web13208.mail.yahoo.com [216.136.174.193]) by hub.freebsd.org (Postfix) with SMTP id AB7B237B71D for ; Thu, 22 Mar 2001 08:53:32 -0800 (PST) (envelope-from lipshitz909@yahoo.com) Message-ID: <20010322165331.97337.qmail@web13208.mail.yahoo.com> Received: from [213.167.135.253] by web13208.mail.yahoo.com; Thu, 22 Mar 2001 08:53:31 PST Date: Thu, 22 Mar 2001 08:53:31 -0800 (PST) From: Larry Librettez Subject: Re: 4.3-BETA won't su to root in X terminal To: Robert Watson Cc: freebsd-qa@freebsd.org, freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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