Ahoj, Dňa Thu, 1 May 2014 20:33:17 +0000 Артур Истомин <art.istom@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. regards -- Slavko http://slavino.sk
Attachment:
signature.asc
Description: PGP signature