kassube at gmx.net
Fri Nov 4 13:28:28 UTC 2016
Ralf Mardorf wrote:
> that doesn't explain if the OP knows the difference.
No, it doesn't, but your question was "However, what should be the
advantage of gksudo over sudo?". And the link and quote I posted should
give an answer.
> Working with root privileges doesn't require the usage of a command,
> it requires understanding what we do.
Well, I'd say it requires both because otherwise you're not doing
anything as root, but that might be a bit too petty.
Anyway, to show the problem of running "sudo whateverGUIapplication" I
made an experiment. With a Kubuntu 14.04 live session (on my USB stick
there is no other *Ubuntu flavour, sorry) I installed gedit. Then I run
and I changed some gedit preferences. Then I quit gedit and run the
and again I changed some kate preferences. Then I quit kate and run the
sudo find -user root
which should return nothing if using sudo with a graphical application
was OK. However the output was this:
Applications that want to use any of those files / folders, which are
now owned by root, may no longer work correctly if run as a normal user.
More information about the ubuntu-users