Run app as root in X

Les Mikesell lesmikesell at
Sat Feb 16 19:45:43 UTC 2008

Henning Larsen wrote:
> OK, I know all this, and it is the way I do things today.
> What I want is a folder on my desktop with links to several config files
> for easier configuration.
> The solution I have so far is to create a launcher on the gnome desktop,
> for the command:
> 	kdesu gedit /path/to/file/name
> It works ok, but I wish I did not have to install lots of kde to make it
> work.
> I can use a bash script file with:
> 	su -c 'gedit /path/to/file/name'
> which is better.
> I have a dream :)
> Is it possible to make a folder as root, make links to all the config
> files, and open that folder using a su command (as regular user) and be
> able to edit the files that way?
> I must try that one.

With most config files you could simply change ownership to yourself so 
you can edit them, with or without symlinks to a folder on your desktop. 
There are probably exceptions for things that make extra security checks 
or have edit tools that replace the file instead of overwriting to 
maintain existing ownership and modes.

   Les Mikesell
    lesmikesell at

More information about the fedora-list mailing list