On Fri, 4 Sep 2020 18:28:04 -0700
Tomas Kuchta <[email protected]> wrote:

> Point taken - I am lazy on isolated machines when mounting attack by
> su on the localhost myself.
> 
> I appreciate the 109% valid comment, stil it feels little bit like in
> primary school - not offering solution - letting me to come back and
> write one.
> 
> So - For better safety, if needed to use xhost. Use it as:
> xhost +localhost
> 
> For added safety, do:
> xhost -localhost
> when done..!


if there are no other untrustworthy users and programs on your machine
then sure, otherwise that open's up everything to localhost. What I
would suggest instead is using X-MIT magic cookies or tunneling over
openSSH. OpenSSH can often times set those up automatically for you with
-X.

Is this still a replacement for gksu discussion though? You shouldn't
need to open things up like that to run lxsudo

-- 
 _________________________________________ 
/ Over the shoulder supervision is more a \
| need of the manager than the            |
\ programming task.                       /
 ----------------------------------------- 
\
 \
   /\   /\   
  //\\_//\\     ____
  \_     _/    /   /
   / * * \    /^^^]
   \_\O/_/    [   ]
    /   \_    [   /
    \     \_  /  /
     [ [ /  \/ _/
    _[ [ \  /_/
_______________________________________________
PLUG: https://pdxlinux.org
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to