[PLUG] Opening X app when su root

Wil Cooley wcooley at nakedape.cc
Sat Sep 18 19:59:02 UTC 2004


On Sat, 2004-09-18 at 17:18 -0700, Rich Shepard wrote:

>    Last sentence. Root is a username.

Yes, except it's never actually worked.  At least, I've never seen it
work:

$ xhost +root
xhost:  bad hostname "root"
$ xhost + root
xhost:  bad hostname "root"

I ran into this years ago dealing with Solaris and at some point I
actually found someone somewhere who corroborated that.

Actually, if you read the Xsecurity man page, you'll see that it uses
examples for NIS and Kerberos with usernames.  That makes sense, since
both provide a means of identifying the user on the other end of the
connection.  Straight TCP or UNIX socket connections do not.

My xhost/X server isn't compiled to support Kerberos 5, so despite the
fact that I have it setup, it doesn't work either:

$ xhost + krb:root at EXAMPLE.COM
xhost: not compiled for Kerberos 5
xhost:  bad hostname "krb:root at EXAMPLE.COM"


Wil
-- 
Wil Cooley                                 wcooley at nakedape.cc
Naked Ape Consulting                        http://nakedape.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20040918/4d72e380/attachment.asc>


More information about the PLUG mailing list