all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bob Proulx <bob@proulx.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Does anyone really use emacs in terminal?
Date: Wed, 8 May 2013 13:49:06 -0600	[thread overview]
Message-ID: <20130508194906.GA11349@hysteria.proulx.com> (raw)
In-Reply-To: <87sj1xs9df.fsf@kuiper.lan.informatimago.com>

Pascal J. Bourguignon wrote:
> Bob Proulx writes:
> >   # 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.

But emacs will always ask you if it should proceed due to that issue.
It will never do it automatically.  It isn't intrinsically insecure.

> 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.

But only if you approve using the local setting.  And you would need
to be exposed to hostile user attack in order to trigger it.

If it is your laptop with you as the only user that is unlikely and
answer yes without thinking probably won't hurt you.  You can think
less.  You are more safe on your own machine where only you work.

If you are an admin of a university system with clever kids poking at
the system with social engineering attacks then you need to be more
vigilant.  But then you should always be vigilant in a hostile
environment such as those.

Bob



  reply	other threads:[~2013-05-08 19:49 UTC|newest]

Thread overview: 118+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.25145.1367723226.855.help-gnu-emacs@gnu.org>
2013-05-05  3:43 ` Does anyone really use emacs in terminal? Chad Brown
2013-05-07 18:17   ` Cecil Westerhof
2013-05-08  2:30     ` Hugh Lawson
2013-05-08  9:35       ` Nicolas Richard
2013-05-08 15:53         ` Bob Proulx
2013-05-08 20:51           ` Nicolas Richard
2013-05-08 21:08             ` Steven Degutis
2013-05-22 11:01               ` Steinar Bang
2013-05-09  8:26             ` Peter Dyballa
     [not found]           ` <mailman.25343.1368046244.855.help-gnu-emacs@gnu.org>
2013-05-08 23:21             ` Pascal J. Bourguignon
2013-05-09  8:21               ` Thorsten Jolitz
2013-05-09  8:38               ` Peter Dyballa
2013-05-09 13:39                 ` Jai Dayal
2013-05-09 15:26                   ` Peter Dyballa
2013-05-09 15:35                     ` Jai Dayal
2013-05-09 18:50                       ` Peter Dyballa
2013-05-09 18:58                       ` Peter Dyballa
2013-05-09 19:01                         ` Jai Dayal
2013-05-09 19:09                           ` Peter Dyballa
2013-05-09 19:04                         ` Jai Dayal
2013-05-09 19:19                           ` Óscar Fuentes
2013-05-09 19:27                             ` Jai Dayal
     [not found]                         ` <mailman.25426.1368126295.855.help-gnu-emacs@gnu.org>
2013-05-09 19:09                           ` Jay Belanger
2013-05-09 21:08                             ` Jai Dayal
2013-05-11  4:01                               ` PJ Weisberg
2013-05-11 14:43                                 ` Stefan Monnier
2013-05-11 14:45                                 ` Jai Dayal
     [not found]                             ` <mailman.25436.1368133731.855.help-gnu-emacs@gnu.org>
2013-05-09 21:58                               ` Jay Belanger
2013-05-09 16:00                   ` Luca Ferrari
2013-05-09 16:02                     ` Jai Dayal
2013-05-09 16:19                       ` Óscar Fuentes
2013-05-09 16:25                         ` Jai Dayal
2013-05-09 16:40                           ` Óscar Fuentes
2013-05-09 16:46                             ` Jai Dayal
2013-05-09 17:04                               ` Óscar Fuentes
2013-05-09 17:11                                 ` Jai Dayal
2013-05-09 17:27                                   ` Óscar Fuentes
2013-05-09 17:50                                     ` Steven Degutis
2013-05-09 16:51                             ` Óscar Fuentes
     [not found]                             ` <mailman.25407.1368118028.855.help-gnu-emacs@gnu.org>
2013-05-10  4:08                               ` comint outside emacs (was Does anyone really use emacs in terminal?) rusi
2013-05-10  4:48                                 ` Jai Dayal
2013-05-09 16:19                       ` Does anyone really use emacs in terminal? Hongxu Chen
2013-05-09 16:27                         ` Jai Dayal
2013-05-11 18:13                       ` Luca Ferrari
2013-05-11 18:14                         ` Jai Dayal
2013-05-11 19:12                           ` Peter Dyballa
     [not found]                         ` <mailman.25563.1368296076.855.help-gnu-emacs@gnu.org>
2013-05-11 20:14                           ` Jay Belanger
2013-05-11 21:11                             ` Jai Dayal
     [not found]                             ` <mailman.25571.1368306670.855.help-gnu-emacs@gnu.org>
2013-05-11 21:40                               ` Jay Belanger
2013-05-11 22:32                                 ` Jai Dayal
2013-05-11 23:51                                   ` Dmitry Gutov
2013-05-12  8:30                                   ` Peter Dyballa
2013-05-12  8:44                                     ` Hongxu Chen
     [not found]                                     ` <mailman.25594.1368348301.855.help-gnu-emacs@gnu.org>
2013-05-12 19:44                                       ` Pascal J. Bourguignon
2013-05-12 20:00                                         ` Dan Espen
2013-05-12 20:53                                           ` Jai Dayal
2013-05-12 21:18                                           ` Pascal J. Bourguignon
     [not found]                                           ` <mailman.25612.1368392031.855.help-gnu-emacs@gnu.org>
2013-05-12 22:40                                             ` Dan Espen
2013-05-13  1:23                                               ` Jay Belanger
2013-05-12 20:52                                         ` Jai Dayal
2013-05-13  5:58                                           ` Jonathan Groll
     [not found]                                 ` <mailman.25577.1368311553.855.help-gnu-emacs@gnu.org>
2013-05-11 22:41                                   ` Jay Belanger
2013-05-12  0:04                                     ` Jai Dayal
2013-05-12 13:46                                       ` Jonathan Groll
     [not found]                                     ` <mailman.25583.1368317085.855.help-gnu-emacs@gnu.org>
2013-05-12  0:09                                       ` Jay Belanger
2013-05-12  2:27                                   ` Dan Espen
2013-05-12  6:32                                     ` Jai Dayal
     [not found]                                     ` <mailman.25590.1368340339.855.help-gnu-emacs@gnu.org>
2013-05-12 14:07                                       ` Jay Belanger
2013-05-09 16:17                     ` Hongxu Chen
     [not found]                 ` <mailman.25386.1368106748.855.help-gnu-emacs@gnu.org>
2013-05-09 13:43                   ` notbob
2013-05-09 15:57                     ` Jai Dayal
2013-05-09 16:53                   ` Jay Belanger
     [not found]         ` <mailman.25331.1368028437.855.help-gnu-emacs@gnu.org>
2013-05-08 16:51           ` Pascal J. Bourguignon
2013-05-08 19:49             ` Bob Proulx [this message]
2013-05-09  1:15               ` Stefan Monnier
2013-05-09  2:48                 ` Bob Proulx
2013-05-09  7:25                 ` Jonathan Groll
2013-05-09  9:08                   ` Tamas Papp
2013-05-05 10:14 ` Alan Mackenzie
2013-05-06  3:31   ` Jason White
2013-05-06  9:52     ` ken
2013-05-06  9:56       ` Peter Dyballa
     [not found]       ` <mailman.25227.1367834181.855.help-gnu-emacs@gnu.org>
2013-05-08 10:22         ` Andrea Venturoli
     [not found]   ` <mailman.25215.1367811087.855.help-gnu-emacs@gnu.org>
2013-05-06 13:13     ` Pascal J. Bourguignon
2013-05-06 15:29   ` Joost Kremers
2013-05-05  3:06 Steven Degutis
2013-05-05  3:58 ` Le Wang
2013-05-05  4:06   ` Steven Degutis
2013-05-05  4:30     ` Bob Proulx
2013-05-05  4:33       ` Steven Degutis
2013-05-05  5:38     ` Pascal J. Bourguignon
2013-05-05  5:43       ` Steven Degutis
2013-05-05  6:58         ` Dmitry Gutov
2013-05-05 17:24         ` Thien-Thi Nguyen
2013-05-05 19:30           ` Steven Degutis
2013-05-05  6:59     ` Stefan Monnier
     [not found]     ` <mailman.25179.1367737210.855.help-gnu-emacs@gnu.org>
2013-05-05 14:27       ` Pascal J. Bourguignon
2013-05-05 19:31         ` Steven Degutis
2013-05-05 19:52           ` Mark Skilbeck
2013-05-05  4:32   ` Jai Dayal
2013-05-08 12:51     ` Steinar Bang
2013-05-05  5:34   ` Pascal J. Bourguignon
2013-05-05  5:39     ` Steven Degutis
2013-05-05  4:04 ` XeCycle
2013-05-05  4:13 ` Bob Proulx
2013-05-05  4:17   ` Steven Degutis
2013-05-05  4:36     ` Jai Dayal
2013-05-05  5:42     ` Pascal J. Bourguignon
2013-05-05  4:31 ` Pascal J. Bourguignon
2013-05-05  4:39   ` Steven Degutis
2013-05-05  4:41     ` Steven Degutis
2013-05-05  8:29       ` Peter Dyballa
2013-05-05  5:43     ` Pascal J. Bourguignon
2013-05-05  5:46     ` Pascal J. Bourguignon
2013-05-09 11:50   ` Luca Ferrari
2013-05-05  6:57 ` Stefan Monnier
2013-05-05  8:21 ` eniotna
2013-05-06 10:20   ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130508194906.GA11349@hysteria.proulx.com \
    --to=bob@proulx.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.