Run app as root in X

Paul Shaffer ace_wizard at yahoo.com
Sat Feb 16 22:27:05 UTC 2008


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

Les Mikesell <lesmikesell at gmail.com> 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 at gmail.com

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


       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080216/3ec2b02b/attachment-0001.htm>


More information about the fedora-list mailing list