gksudo 16.10

Nils Kassube kassube at gmx.net
Fri Nov 4 11:11:07 UTC 2016


Ralf Mardorf wrote:
> However, what should be the advantage of gksudo over sudo?

>From <https://help.ubuntu.com/community/RootSudo#Graphical_sudo>:

| You should never use normal sudo to start graphical applications as
| root. You should use gksudo (kdesudo on Kubuntu) to run such programs.
| gksudo sets HOME=~root, and copies .Xauthority to a tmp directory.
| This prevents files in your home directory becoming owned by root.


Nils




More information about the ubuntu-users mailing list