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 13:51:51 +0100 Message-ID: <877eh6pp94.fsf@gmx.de> References: <87ftvwdcdw.fsf@gmx.de> <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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1542804621 32107 195.159.176.226 (21 Nov 2018 12:50:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Nov 2018 12:50:21 +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: Filipp Gunbin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 21 13:50:16 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 1gPRxQ-0008Fk-JH for ged-emacs-devel@m.gmane.org; Wed, 21 Nov 2018 13:50:16 +0100 Original-Received: from localhost ([::1]:38860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPRzW-0003WT-Li for ged-emacs-devel@m.gmane.org; Wed, 21 Nov 2018 07:52:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPRzR-0003WO-9p for emacs-devel@gnu.org; Wed, 21 Nov 2018 07:52:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPRzO-0000RC-3W for emacs-devel@gnu.org; Wed, 21 Nov 2018 07:52:21 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:39859) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gPRzN-0000Q8-PE; Wed, 21 Nov 2018 07:52:18 -0500 Original-Received: from detlef.gmx.de ([178.20.93.145]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LxcbX-1fO1gm0i9T-017BZh; Wed, 21 Nov 2018 13:51:55 +0100 In-Reply-To: (Filipp Gunbin's message of "Wed, 21 Nov 2018 15:44:51 +0300") X-Provags-ID: V03:K1:o/JboheR4n3zanMPJoYnqmmIe/Ftenh3e2l9QvR+Gzs91jdgoJw uBwREbIqQ4lVNlFj23YEv4FrTptXGGez4BtAda1Y0h1mxliV+1LVI0y0/M93urocaUQ8pjj qtlG/w3LatBVMm3svDJd5uwSEDVGrYlJGstRMqk96l60W9GsFCz8rwWaTBfC9qH3hZ5vQ+H 7rFjgn+5McFUx1eVLkbHw== X-UI-Out-Filterresults: notjunk:1;V03:K0:rEh/Oww/XSQ=:8ohrWhHX8mYP+7KxjwAflU okrmpM1H5RuvwLh6buXc2GtJGiX5jOvNdZRAVfOYAcXKekQYlxEdA5msevjtL5DGjZNzcCMhX ga5JZZO0a2ekddCk8OHjfxB9lPQZ7zuNMMVwm/RU7aOFI5miIS5IHUaubL7brwOC3lGEcqIJ6 0H5tWjqk7h4nBiL5uaMqgx9HUtAJjExND1ZvEkBelmZpoAzgDnypYqEXiTS+8dSuN5lDLxH4l M9XLDGWYH4bwZZhJZH1OA6u1Xk3J8sW0MwujOi8eREwpg9ik69LCJUFP7czIldCjHBqUo28Xr mqW9dImJVgKNdYX9YDJ46cflrmOnUjsKL0gNrXEKhUfblACfmZLRwuPoIjNJv2lYs9yQ7TwxZ eg6WPNEPdSFE5gG+RUi1sQxJV33QnS3KWTF7puDjFqEZOkckyv1hidyLrMYtlF1pAf9z8XJ/k wYyv/KsYYxF6q7dAOuK1/9U5GABIurrDT2vJD/1X6IhDqibUx+m5pNxlrs0C9NHf73eqwcmEr 17Bhp0LE91iZWdKRIDQ3+GGCU7kEzUtDMjpapV5+Qyk2K0rTMeM1QUO5Pg9RJUsIlwCehL5rc XvwNOQODeKNw/fZC8MtMTbTTdk8eeqMbAFPdk3E8PJ+jXi+aUcR9FzQK+8zv6QPqJ58RhZjNd ufVZJOvOSk2VylnBfzBUtXHwG4ugi34DAVfzykhxtFpdXk5qaWG9itXoDSiRyhwfbze375Btd xksgOVsgiCio9grdHe51EYsm2s3A+8Mwo5/2q4U/MM3LM9Md86uKmiAjheaczafsHvpQIMBI 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:231282 Archived-At: Filipp Gunbin writes: Hi Filipp, >> Maybe we shall call this for sudo/su methods automatically after a >> given timeout, like the password expiration for sudo in a terminal. 5 >> minutes seem to be a sensible value to me. > > Yes, that'd be nice (for root). I have just committed a patch to master, which does it for all "sudo" connections. If you want it only for root, you could configure it as such. See the Tramp manual. > Filipp Best regards, Michael.