[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Annoying problem with GTK apps



Aurélien Campéas wrote:

> Le vendredi 08 avril 2005 à 16:36 +0000, Miquel van Smoorenburg a
> écrit :
>> In article <[🔎] 1112977422.10124.3.camel@localhost.localdomain>,
>> Aurélien Campéas  <aurelien.campeas@uni.lu> wrote:
>> >
>> >this is a security feature ; to disable it, as "normal" user, type
>> >"xhost +", then proceed as root
>> 
>> It's a bad, bad idea to disable security features like these.
> 
> It depends. In the absolute, it is.
> 
> If you know a less insecure way to achieve the same effect, I'll take
> it !
> Aurélien.

There are a number of ways, most of which are less dangerous than
"xhost +".  IMO the simplest is:

$ dpkg -s sux
[...]
Description: wrapper around su which will transfer your X credentials
 Sux is a wrapper around the standard su command which will transfer
 your X credentials to the target user.
 .
 http://sourceforge.net/projects/sux/
 ( from http://fgouget.free.fr/sux/ )


regards,

-- 
Kevin B. McCarty <kmccarty@princeton.edu>   Physics Department
WWW: http://www.princeton.edu/~kmccarty/    Princeton University
GPG public key ID: 4F83C751                 Princeton, NJ 08544



Reply to: