Shell confusion

Kevin Kofler kevin.kofler at chello.at
Sat Mar 14 15:50:29 UTC 2009


Matthew Flaschen wrote:
> You should not run GUI apps under a root shell.  Do:
> 
> sudo gedit
> 
> or better yet:
> 
> sudoedit /etc/the_config.ext

May I suggest:
gedit sftp://root@localhost/etc/foo.conf
as an alternative? :-)

Of course this only works if you have sshd running, but it avoids running
the whole GUI app as root.

That works with all editors using gio/gvfs or the old gnome-vfs (e.g. gedit)
or KIO (KWrite, Kate etc.).

        Kevin Kofler




More information about the fedora-list mailing list