Originally posted by gabba
- a switch to root button in Konqueror that allows you to quickly get admin privileges whenever you're browsing your filesystem and you realize you need to change file permissions (for instance). Starting a second Konqueror window as root (or a root terminal) is impractical, because you have to cd again to the right location, which might be deep into nested directories, and so on.
A process can't acquire higher privileges unless it is suid root, which would be a bad idea either.
So "editing as root" would always require starting a another application.
If you just need a console you can either use tools->open konsole or embedded console.
The first one will open in the directory you are currently viewing and the other one even follows the main view.
On both cases a simple
su
will change the shell session to root.
Edit as root in the context menu could be possible with a service menu which calls
kdesu kfmclient exec %u
Unfortunately this could execute the target if it is a script or bianry executable.
But it could be possible to restrict that action for the root account through Kiosk.
Edit: just found this
http://www.kde-apps.org/content/show.php?content=11998
Cheers,
_