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

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]

On Thu, 22 Mar 2001, Larry Librettez wrote:

> 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! 

As I mentioned in my prior e-mail, it sounds like something about the
credential/context of the shell is getting botched, resulting (for reasons
unknown) in a failure of su.  I've written up a quick program that prints
out the accessible process credential information to the terminal by
calling a variety of get*() system calls.  If possible, I'd like to get
you to run this in three different scenarios, saving the output to
appropriately named files :-).  These would be the: at the shell prompt on
the console prior to su, in an xterm prior to su, and in a gnome-terminal
prior to su.  Then e-mail them back and we can take a look.  I've attached
the program in source form as a tarball, just:

   tar -xzf test.tgz
   cd test
   make

And invoke as

   ./test

There are a couple of other aspects that may be relevant here, relating to
Kerberos interference if you are running on a box where kerberos got
installed due to a bug in sysinstall.  If the credential output doesn't
give us any clues, we can follow up on that, and terminal-related issues. 

Thanks!

Robert N M Watson             FreeBSD Core Team, TrustedBSD Project
robert@fledge.watson.org      NAI Labs, Safeport Network Services


[-- Attachment #2 --]
b::k0jGF&	4`0({VVm	ƖU16QF釓:Ya^t+d"n(1`pl[K0hT94Ac]FȄDm
H}7h0QM:igOzHx(u0+3Ic0͠o?{;[/NLf9"VE8b~gRݽu7]&f;.3Vm6%S&nt\pVJ	˄R@>$w҆sBj^DH9ɔ͒2)8)I2#52rUN>a'H9w(Z\<rq|1OT4Oc=RYzaB8uZ35ˎo^vS֝.u\o{:*h[z?(iVՈJC]ȀSD(޾¾þلrL9{ľr8
/|lozRx2Y+VjRZҗh]tC+Һ]Zm!yBŵ!NOA)l#X,m&oMOBS908iᡯm^_fݢ2{:NJ*5eCM۷a^7ѳkLw
AAAAAAdg
1Z(
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1010322124643.11543C-101000>