unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Jeff Bauer <jeffrubic@gmail.com>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: help-guix@gnu.org
Subject: Re: editing /etc/sudoers
Date: Mon, 17 Jun 2019 10:48:40 -0500	[thread overview]
Message-ID: <20190617154840.GH12459@serpent> (raw)
In-Reply-To: <9dde9e6a-6451-9b15-a555-342a16e54fef@crazy-compilers.com>

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

      reply	other threads:[~2019-06-17 15:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-14 11:55 editing /etc/sudoers Jeff Bauer
2019-06-14 13:16 ` David Larsson
2019-06-14 13:21 ` Tobias Geerinckx-Rice
2019-06-14 13:58   ` Jeff Bauer
2019-06-16  2:27 ` Quiliro's lists
2019-06-16 14:18   ` Jeff Bauer
2019-06-16 14:30   ` Jeff Bauer
2019-06-16 23:08     ` Quiliro's lists
2019-06-16 23:20       ` Jeff Bauer
2019-06-17  7:17         ` Andreas Enge
2019-06-17 14:34           ` Quiliro's lists
2019-06-17 15:44             ` Jeff Bauer
2019-06-17 17:03               ` John Soo
2019-06-17 18:02                 ` Jeff Bauer
2019-06-17 20:16                   ` John Soo
2019-06-17  7:53         ` Hartmut Goebel
2019-06-17 15:48           ` Jeff Bauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190617154840.GH12459@serpent \
    --to=jeffrubic@gmail.com \
    --cc=h.goebel@crazy-compilers.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).