all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Joseph Mingrone <jrm@ftfl.ca>
Cc: 50594@debbugs.gnu.org
Subject: bug#50594: 28.0.50; tramp error after upgrading sudo to version 1.9.8: option passprompt_override does not take a value
Date: Wed, 15 Sep 2021 11:21:09 +0200	[thread overview]
Message-ID: <87k0jip52y.fsf@gmx.de> (raw)
In-Reply-To: <86zgsed76q.fsf@phe.ftfl.ca> (Joseph Mingrone's message of "Tue,  14 Sep 2021 21:16:29 -0300")

Joseph Mingrone <jrm@ftfl.ca> writes:

Hi Joseph,

> Recipe to reproduce the problem:
>
> emacs -Q and evaluate
>       (find-file "/sudo::/some/file")
>
> Tramp runs
>       sudo -u root -s -H -p P""a""s""s""w""o""r""d"": /bin/sh -i
>
> but this error is now reported after upgrading sudo to 1.9.8
>
>     sudo: (null): option "passprompt_override" does not take a value
>     sudo: error initializing audit plugin sudoers_audit.
>
> I guess this is related to the 2017-07-21 entry at
> https://www.sudo.ws/changes.html.
>
> Am I missing anything?

Don't know. The ChangeLog entry you quote is four years old, I would
expect the change is distributed already with recent sudo packages. Do
you know which sudo version was installed before you have upgraded?

Does the same error also happen when you call from a shell

# sudo -u root -s -H -p P""a""s""s""w""o""r""d"": /bin/sh -i

What happens if you call

# sudo -u root -s -H /bin/sh -i

I run Fedora 34, which uses sudo-1.9.5p2-1.fc34. And the upcoming Fedora
35 will offer sudo-1.9.7p2-2.fc35, so I have no chance to test with sudo
1.9.8 next time.

Does it help to call

# env SUDO_PROMPT=P""a""s""s""w""o""r""d"": sudo -u root -s -H /bin/sh -i

Best regards, Michael.





  reply	other threads:[~2021-09-15  9:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-15  0:16 bug#50594: 28.0.50; tramp error after upgrading sudo to version 1.9.8: option passprompt_override does not take a value Joseph Mingrone
2021-09-15  9:21 ` Michael Albinus [this message]
2021-09-15 10:41   ` Joseph Mingrone
2021-09-15 13:19     ` Michael Albinus
2021-09-15 18:25       ` Joseph Mingrone
2021-09-15 18:30         ` Michael Albinus

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

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

  git send-email \
    --in-reply-to=87k0jip52y.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=50594@debbugs.gnu.org \
    --cc=jrm@ftfl.ca \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.