[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: read -e allows execution of commands (edit-and-execute-command) as t
From: |
Chet Ramey |
Subject: |
Re: read -e allows execution of commands (edit-and-execute-command) as the shell's process user |
Date: |
Mon, 8 May 2017 16:09:57 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
On 5/8/17 1:31 PM, Eduardo Bustamante wrote:
> I think `edit-and-execute-command' shouldn't be allowed under `read -e'.
There's no compelling reason to disallow it. If a system administrator
wants to unbind certain readline commands (and unset INPUTRC!) to protect
against a specific use case, he is free to do that.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/