[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Editing Files Like /etc/hosts
From: |
Bill Wohler |
Subject: |
Re: Editing Files Like /etc/hosts |
Date: |
Fri, 10 Mar 2006 08:45:25 -0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Annamalai Gurusami <annamalai.gurusami@EMAIL.masconit.com> writes:
> Suppose I am currently logged in as a normal user, and am using emacs
> for editing some files. And while in the middle of such an emacs
> session, I would like to change the file /etc/hosts. How can I open
> this file such that I can edit it?
I usually have another Emacs session run by root for such things, but
I would be curious to hear if I could use my non-root session as well.
--
Bill Wohler <wohler@newt.com> http://www.newt.com/wohler/ GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.