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

Re: Editing system files from within Emacs



One thing I'll do is use ange-ftp.  For example, I'll enter

    C-x C-f /root@xxxxxxxxxxx:/etc/exports Ret
    RootPassWord Ret

where `chaltain' is my own system and `RootPassWord' is the root password on `chaltain'.

>>>>> "JW" == Jason White <jasonw@xxxxxxxxxxx> writes:

JW> Recently, I have confronted the problem of how best to edit system files
JW> while logged in as an ordinary user and working via Emacspeak. My solution
JW> involves visiting the relevant directory in shell mode, becoming the super
JW> user, changing the ownership of the file temporarily from "root" to my
JW> login name, editing the file in Emacs (with find-file: c-x, c-f) and then,
JW> after having saved the file, changing its ownership back to "root". I also
JW> tried running Emacs from an eterm buffer, but the cursor keys did not
JW> operate correctly and editing text was not very convenient.

JW> Has anyone devised a better approach than those outlined above?

JW> Jason.


JW> -----------------------------------------------------------------------------
JW>        To unsubscribe or change your address send mail to
JW> "emacspeak-request@xxxxxxxxxxx" with a subject of "unsubscribe" or "help"

-- 
Christopher
=============================================================================
This message is coming to you from a system running level 98012D of AIX 4.3.D!
-----------------------------------------------------------------------------
Christopher J Chaltain   |                 internet:  chaltain@xxxxxxxxxxx
IBM RS/6000 Division                               |  VM:  CHALTAIN at AUSTIN
Internal ZIP:  9530      |            IBM Mail Exchange:  USIB4HB2 at IBMMAIL
11,400 Burnet Road       |      Division:  75      |         Department:  C3C
Austin, Texas 78758      |      Building: 905      |          Office:  3B-021
Tel:  (512) 838-8310     |   Tie line:  678-8310   |     Fax:  (512) 838-1801

-----------------------------------------------------------------------------
       To unsubscribe or change your address send mail to
"emacspeak-request@xxxxxxxxxxx" with a subject of "unsubscribe" or "help"


Emacspeak Files | Subscribe | Unsubscribe