switching to root from desktop

Michael Scottaline nbhs2 at i-2000.com
Fri Dec 17 10:08:44 UTC 2004


On Fri, 17 Dec 2004 11:00:32 +0100
soraberri <421246 at posta.unizar.es> insightfully noted:

S>Hi all
S>
S>maybe there is a simple to way to solve this nuisance but I didn't find 
S>it, maybe you could suggest me one:
S>
S>when I'm for example browsing through the filesystem as a non-root user 
S>and I open a text file wich I want to edit, change and save, how can I 
S>"su" to root in order to do it in the same graphical desktop enviroment?
S>I mean: what is the equivalent to the su command for the desktop?
======================================
Once you find the file you want to edit, launch a terminal, su to root and
then issue the command to open the editor of your choice.  Once the editor
is open (remember root is now running that editor) you can browse to and
edit the file.  As with most things Linux, there are a number of other
ways to accomplish this (such as running the file manager as root,
briefly).
HTH,
Mike

-- 
"The man who views the world the same at 50 as he did at 20 has wasted 30 
years of his life"
--Muhammad Ali




More information about the fedora-list mailing list