On Fri, 2014-05-02 at 14:04 +0200, Slavko wrote:
> Ahoj,
> 
> Dňa Thu, 1 May 2014 20:33:17 +0000 Артур Истомин <art.is...@yandex.ru>
> napísal:
> 
> > On Thu, May 01, 2014 at 07:29:08PM +0100, Tom Furie wrote:
> > > Here, have a wrapper script
> > > 
> > > --8x--------------------
> > > 
> > > #!/bin/sh
> > > 
> > > xhost + si:localuser:root
> > > sudo $@
> > > xhost - si:localuser:root
> > > 
> > > --8x--------------------
> 
> And what about gksu(do)?
> 
> ... and preserving environment when acting as a su frontend. It is
> useful to menu items or other graphical programs that need to ask a
> user's password to run another program as another user.

For gksudo you also need xhost.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1399041043.16029.0.camel@archlinux

Reply via email to