kdesudo and the config problem

Terence Simpson tsimpson at kubuntu.org
Sat May 12 17:02:41 UTC 2012

On 12 May 2012 17:44, David Edmundson <david at davidedmundson.co.uk> wrote:
> There is never a case to run "kdesudo kate /someFile".
> Use "sudoedit /someFile". This uses root to copy the file to /tmp, you
> then run the default editor (hopefully kate) as yourself, then
> whenever the file changes you copy the file back (as root).
> Not really answering the question/real problem, but making sure people
> do this makes the problem less bad.

You really can't expect (normal) users to open a terminal and use
sudoedit, which would use nano by default (unless they knew how to
change /etc/alternatives/ stuff).
Ideally, kdesudo would copy the running users style/theme settings,
possibly by using a custom $KDEHOME when launching the application.
(Or just use polkit)

Terence Simpson

More information about the kubuntu-devel mailing list