Invocation of applications which require root permitions

Jury Levykin jury at geodigital.ru
Fri Jan 6 10:31:29 UTC 2006


Tim Frost:

>Don't use 'su -' as that does a full root login.
>
>In particular, X authentication settings are lost.
>
>Either run
>	su root -c synaptic
>  
>
$ su root -c synaptic
!!! success !!! synaptic is RUNNING

>or
>	sudo synaptic
>  
>
$ sudo synaptic
$
Nothing occurs

>as they will pass the X DISPLAY and XAUTH settings to the root process.
>
>(Or run synaptic from the menus, which will use gksudo in place of
>su/sudo, and will provide the required environment)
>  
>
It is my first mail message!

>HTH 
>
>
>Tim
>  
>




More information about the ubuntu-users mailing list