From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: sudo:: method in tramp possible security issue Date: Wed, 21 Nov 2018 16:07:41 +0100 Message-ID: <87tvkao4ea.fsf@gmx.de> References: <87bm6kdb68.fsf@gmx.de> <87bm6kyxc3.fsf@gmx.de> <87k1l83yd3.fsf@gmx.de> <87o9ajvost.fsf@gmx.de> <87198cbf-4e47-b094-8a06-7406114e86db@cs.ucla.edu> <888b347f-80f3-dbc2-9e88-74be3375b599@cs.ucla.edu> <878t1n2yll.fsf@gmx.de> <87d0qy98sc.fsf@gmx.de> <874lcao5gq.fsf@gmail.com> <87y39mo53r.fsf@gmx.de> <8736ruo4yo.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1542812801 31473 195.159.176.226 (21 Nov 2018 15:06:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Nov 2018 15:06:41 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Eli Zaretskii , Paul Eggert , emacs-devel , =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= , Stefan Monnier To: John Shahid Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 21 16:06:36 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gPU5M-00084V-Ea for ged-emacs-devel@m.gmane.org; Wed, 21 Nov 2018 16:06:36 +0100 Original-Received: from localhost ([::1]:39651 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPU7S-0003ty-6X for ged-emacs-devel@m.gmane.org; Wed, 21 Nov 2018 10:08:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPU6n-0003i9-Jq for emacs-devel@gnu.org; Wed, 21 Nov 2018 10:08:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPU6h-00067L-Sz for emacs-devel@gnu.org; Wed, 21 Nov 2018 10:08:05 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:40591) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gPU6c-0005hg-1P; Wed, 21 Nov 2018 10:07:54 -0500 Original-Received: from detlef.gmx.de ([178.20.93.145]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LtVLE-1fOon512vM-010pyF; Wed, 21 Nov 2018 16:07:43 +0100 In-Reply-To: <8736ruo4yo.fsf@gmail.com> (John Shahid's message of "Wed, 21 Nov 2018 09:55:27 -0500") X-Provags-ID: V03:K1:HgmsfMUzZyXK3f9DIK6jIrO9FdzJtHboyxx047KlOy1UINkaU5a B6+E3y3CAbBZwGHynkGRxW9Tllgfvza5Ph7hqZARuNZY20DYsY76bnj1160UoHyMIcKnbMr 35EYorKBdn2A3yFfcONhzwzFuAjH9VYOigph0VaTz0YuHKvO3bj6yBrCo63m0KTBT8l46lW 8OgUHytodD0Qt6E1JvG9g== X-UI-Out-Filterresults: notjunk:1;V03:K0:qFojyKYqvuI=:UaGbmPLGXMQb0xscV5Q1vK XyIpiq2OR4sBczxQG0QKiqmGUjHVLmkgnuOrjYfjYVt+mzExq9i43qsHYPd9OdFWX0KN21KRs X7KzCj5fJ92dgCEYsvvV6j1Q9OvnI9SrLzPqUFyXDoYpcLXi6fFhBkCjq5yUOM1lZXgFlhwFY IOkyPouJNFhQGgq4uG8tLt0g6bSvYsGUVG1T/FFnHrM+wn98CQD4/+47EZOru2Owzv88vicLi q9qovL0oXHFvF56th7A1om+8RQtqyJ2k/AOk+NA9YxPCT980JZkY7Ek6yyDgbvhbL+QPKIfN1 fUlozQJRpt9X+Oxqp3Eg9OQwRo4tfwi9Llvi5+Wqjskttcsf3cO8/v3MPTeCw0KPsudOqKnKT GPjvwvXKinlpe6Z0l8VdimmoM/5M//lOpJb4S6x/4vM+uuIIm3pRtGN6e0WPfI0k4U+znwwjE dQCaQIESvkAQZjJhy/1eY0ldQN5Fiq37mS2AQwxs4prZgS6a268W+NFE/DDqnr9JKY6CLOkX7 fO9KD2zkMvzSxSEkhA8F44GoXFvgp5tZUXPbbzUfnvXlqyj1Bq1isQ7Cf20h3n8jctz6p2jtK yAUpZr4C3lLW7i4ukhrGTRjNz8BYZpyIIiPr3Y/+wJVJR+RNoQMvd5ueleABmCbbrdW4KwO3h hW4KOGofNr2V+SSzJWja9mx7TtUjpauDtZb9LowxlBdvkUVEDoeGIg0FswBInJEGciMBbx5rt dwOJJdwZXV5tzO+doB7YGD4EzpQuqScw8xi2JUSrhJAqboZ6dyI38CX9jzw5EMqAKAAI30ZI X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.21 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:231289 Archived-At: John Shahid writes: Hi John, > That was the essence of my question. What is stopping us from starting > a new session as needed instead of keeping one around forever ? Performance. Opening a new sudo session every single information bit would be awful slow. We could set a command timeout for the sudo invocation, but nobody guarantees that it happens while data are transferred. Best regards, Michael.