From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Remote editing through ssh and sudo Date: Mon, 01 Sep 2008 08:46:57 +0200 Message-ID: References: <87fxolxzi4.fsf@gmx.de> <20080901053729.GA14219@groll.co.za> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220251545 3872 80.91.229.12 (1 Sep 2008 06:45:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Sep 2008 06:45:45 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Jonathan Groll Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 01 08:46:39 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ka3BO-00028x-Qf for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Sep 2008 08:46:39 +0200 Original-Received: from localhost ([127.0.0.1]:55337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ka3AP-0004Wb-PX for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Sep 2008 02:45:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ka3A5-0004WC-Rs for help-gnu-emacs@gnu.org; Mon, 01 Sep 2008 02:45:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ka3A4-0004Vy-4d for help-gnu-emacs@gnu.org; Mon, 01 Sep 2008 02:45:17 -0400 Original-Received: from [199.232.76.173] (port=51673 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ka3A3-0004Vv-WC for help-gnu-emacs@gnu.org; Mon, 01 Sep 2008 02:45:16 -0400 Original-Received: from mailrelay1.alcatel.de ([194.113.59.95]:33401) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ka3A3-0003vW-Qp for help-gnu-emacs@gnu.org; Mon, 01 Sep 2008 02:45:16 -0400 Original-Received: from slbhab.alcatel.de (slbhab.bln.sel.alcatel.de [149.204.63.218]) by mailrelay1.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id m816j9BB005419; Mon, 1 Sep 2008 08:45:09 +0200 In-Reply-To: <20080901053729.GA14219@groll.co.za> (Jonathan Groll's message of "Mon\, 1 Sep 2008 07\:37\:29 +0200") User-Agent: Gnus/5.101 (Gnus v5.10.10) Emacs/21.3 (hpux) X-Scanned-By: MIMEDefang 2.57 on 149.204.45.72 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57165 Archived-At: Jonathan Groll writes: > Need to read further, but in theory do multi-hops support the scenario > where your regular user is not a sudoer, but wants to edit files as > root on the localhost. Can there be an intermediate 'su' step? > > E.g. on my mac I don't really trust the default security, so I log in > as a regular user who is not in the sudo file. To edit files as root, > I first have to su to an account that is in the sudoers list, and only > then can I sudo to become root. Shall be possible. > Cheers, > Jonathan. Best regards, Michael.