[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Does anyone really use emacs in terminal?
From: |
Pascal J. Bourguignon |
Subject: |
Re: Does anyone really use emacs in terminal? |
Date: |
Wed, 08 May 2013 18:51:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Bob Proulx <bob@proulx.com> writes:
> Nicolas Richard wrote:
>> Hugh Lawson writes:
>> > I use "sudo emacs -nw <filename>" in terminal to edit configuration
>>
>> This runs emacs with su power, which is not so good.
>
> I disagree. There is nothing wrong with it. It is no different than:
>
> # emacs -nw
>
> And surely everyone on this list would agree that emacs is a good
> editor for root to use.
Yes. However, you must be conscious of the theorical possibility of
emacs lisp viruses thru file and directory local variables.
If you find-file in a directory where a malicious user has written a
.dir-locals.el file, he could theorically take advantage of it to root
you. Of course, normally emacs ask permission to evaluate a form, or to
set any variable he doesn't know to be safe. But if you type y or !
carelessly, you can be hosed.
--
__Pascal Bourguignon__ http://www.informatimago.com/
A bad day in () is better than a good day in {}.
You can take the lisper out of the lisp job, but you can't take the lisp out
of the lisper (; -- antifuchs
- Re: Does anyone really use emacs in terminal?, (continued)
- Message not available
- Re: Does anyone really use emacs in terminal?, Jay Belanger, 2013/05/12
- Message not available
- Re: Does anyone really use emacs in terminal?, Dan Espen, 2013/05/12
- Re: Does anyone really use emacs in terminal?, Jai Dayal, 2013/05/12
- Message not available
- Re: Does anyone really use emacs in terminal?, Jay Belanger, 2013/05/12
- Re: Does anyone really use emacs in terminal?, Hongxu Chen, 2013/05/09
- Message not available
- Re: Does anyone really use emacs in terminal?, notbob, 2013/05/09
- Re: Does anyone really use emacs in terminal?, Jai Dayal, 2013/05/09
- Message not available
- Re: Does anyone really use emacs in terminal?, Jay Belanger, 2013/05/09
- Message not available
- Re: Does anyone really use emacs in terminal?,
Pascal J. Bourguignon <=
- Re: Does anyone really use emacs in terminal?, Bob Proulx, 2013/05/08
- Re: Does anyone really use emacs in terminal?, Stefan Monnier, 2013/05/08
- Re: Does anyone really use emacs in terminal?, Bob Proulx, 2013/05/08
- Re: Does anyone really use emacs in terminal?, Jonathan Groll, 2013/05/09
- Re: Does anyone really use emacs in terminal?, Tamas Papp, 2013/05/09
Re: Does anyone really use emacs in terminal?, Alan Mackenzie, 2013/05/05