[ubuntu-uk] Ubuntu (linux) vulnerabilty?? Comment please

Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk
Wed Jun 20 13:48:11 BST 2007


Quoting Robert McWilliam <rmcw at allmail.net>:

> On Wed, 20 Jun 2007 13:24:55 +0100
> Matthew Macdonald-Wallace <matthew at truthisfreedom.org.uk> wrote:
>> Quoting Robert McWilliam <rmcw at allmail.net>:
>> > 	xhost +local:
>>
>> In theory, you shouldn't need to do even this, the gksudo command
>> should work without needing to open up X to local connections.
>
> Doesn't work here:
>
> ormiret at eligeto:~$ xhost -local:
> non-network local connections being removed from access control list
> ormiret at eligeto:~$ gksudo -u st firefox
> Xlib: No protocol specified
>
>
> (firefox-bin:26170): Gtk-WARNING **: cannot open display:
> ormiret at eligeto:~$ xhost +local:
> non-network local connections being added to access control list
> ormiret at eligeto:~$ gksudo -u st firefox
> ormiret at eligeto:~$
>
> firefox started the second time.

Yeah, it will.  There's no need to run xhost -local before running  
gksudo, this will lcok the system out (as demonstrated effectively  
above!)

M.
-- 
Matthew Macdonald-Wallace
Group Co-Ordinator
Thanet Linux User Group
http://www.thanet.lug.org.uk/
matthew at truthisfreedom.org.uk
GPG KEY: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xFEA1BC16




More information about the ubuntu-uk mailing list