Re: Run app as root in X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux