From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Bauer Subject: Re: editing /etc/sudoers Date: Mon, 17 Jun 2019 10:48:40 -0500 Message-ID: <20190617154840.GH12459@serpent> References: <20190614115539.GA22815@serpent> <20190616143031.GD12459@serpent> <45f53d38f8dbf54c80bc7e2153785295@riseup.net> <20190616232054.GA1602@nimrod> <9dde9e6a-6451-9b15-a555-342a16e54fef@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39885) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hctsI-0001V8-3r for help-guix@gnu.org; Mon, 17 Jun 2019 11:48:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hctsE-0001aO-KB for help-guix@gnu.org; Mon, 17 Jun 2019 11:48:48 -0400 Received: from mail-yb1-xb35.google.com ([2607:f8b0:4864:20::b35]:47061) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hctsC-0001Y2-Ep for help-guix@gnu.org; Mon, 17 Jun 2019 11:48:44 -0400 Received: by mail-yb1-xb35.google.com with SMTP id p8so4631810ybo.13 for ; Mon, 17 Jun 2019 08:48:44 -0700 (PDT) Content-Disposition: inline In-Reply-To: <9dde9e6a-6451-9b15-a555-342a16e54fef@crazy-compilers.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Hartmut Goebel Cc: help-guix@gnu.org On Mon, Jun 17, 2019 at 09:53:46AM +0200, Hartmut Goebel wrote: > Try > > VISUAL=/path/tp/my/editor visudo > > See the man-page for details Nope, same error: $ VISUAL=~/.guix-profile/bin/vim visudo -f ~/etc/guix/config.scm visudo: no editor found (editor path = /usr/bin/vi) It appears /usr/bin/vi is hard-coded into the guix version of visudo. EDITOR or VISUAL works for me on non-guix systems. -Jeff