unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Editing Files Like /etc/hosts
@ 2006-03-10  6:01 Annamalai Gurusami
  2006-03-10 16:45 ` Bill Wohler
  0 siblings, 1 reply; 3+ messages in thread
From: Annamalai Gurusami @ 2006-03-10  6:01 UTC (permalink / raw)


Hi All,

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?  

If I do something like this

C-x C-f /root@localhost:/etc/hosts RET

I am getting login incorrect, because I think by default we cannot
login as 'root' in a ftp session.

Environment: 'GNU Emacs 21.3.2' on 'Slackware 10.0.0'.

Rgds,
anna

-- 

What you spend years building may be destroyed overnight.  
Build anyway.     http://www.paradoxicalcommandments.com

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <mailman.168.1141972087.2832.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2006-03-10 16:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-10  6:01 Editing Files Like /etc/hosts Annamalai Gurusami
2006-03-10 16:45 ` Bill Wohler
     [not found] <mailman.168.1141972087.2832.help-gnu-emacs@gnu.org>
2006-03-10  8:11 ` Michael Albinus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).