Patrick,

Did you read Tom's response?

All you ned to do is:
xhost +localhost

before you:
su

or if that's too much work, put
xhost +localhost
in your "regular user's" ~/.xinitrc

Dave

> 
> Superuser on MY system can do anything.  He/she can shutdown the
> system, delete my home directory, delete /usr, etc.  There is 
> no logical reason that superuser on my own system cannot connect
> to anyone's display by default.  There is no security in this
> behavior given the powers of superuser/root as listed above.
> Connecting to a user's display as root is nothing compared to 
> the other security issues, system safety issues that automatically
> reside with root/superuser.  

<rest of rant deleted>


> -----Original Message-----
> From: Tom Gilbert [mailto:[EMAIL PROTECTED]]
> 
> In your ~/.xinitrc (or .xsession if you use runlevel 5), add the line:
> xhost +localhost
> before the line which starts your wm.
> 
> As to your comment:
> > My feeling is that as superuser, this
> > should NEVER apply, EVER.  As su I can do ANYTHING
> > and I should not be prevented from connecting to
> > display this or that at all.
> So if I su on my machine, then I should be able to connect to your X
> server and execute commands as root? That's very generous of you, but
> also foolish ;)
> 
> The reason you can't do it by default is simply security. By default,
> other people can't connect to your X server and do stuff. You have to
> specifically let them. This is the way it should be.
> 
> Tom.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to