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

Re: switching to root from desktop



On Fri, Dec 17, 2004 at 05:08:44AM -0500, Michael Scottaline wrote:
> On Fri, 17 Dec 2004 11:00:32 +0100 > soraberri  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).

I think the cure would be worse than the nuisance.
It should be possible to add to the "open with" list.
Something like  "sudo vim ".

Exactly which browsing tool are you using.



-- 
	T o m  M i t c h e l l 
	SPAM, good eats, and a trademark of  Hormel Foods.


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