help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: emacs idiom for sudo


From: Tim X
Subject: Re: emacs idiom for sudo
Date: Sun, 20 May 2007 15:58:55 +1000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

"Rustom Mody" <address@hidden> writes:

> Is there a more convenient way for doing 'root-things' than
> -- get out of emacs (maybe suspend)
> -- start a shell
> -- sudo editor (usually vi) OR su ... password... editor
>

I use tramp to do this. Essentially, using either a 'su' or 'sudo' tramp method
to edit a local file. This is described in the tramp manual. 

tim

-- 
tcross (at) rapttech dot com dot au


reply via email to

[Prev in Thread] Current Thread [Next in Thread]