Re: Run app as root in X

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

 



I think you are looking for gtksu.  Comes installed by default on Ubuntu, due to their security model.

Les Mikesell <lesmikesell@xxxxxxxxx> wrote:
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

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Never miss a thing. Make Yahoo your homepage.

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

  Powered by Linux