[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp ( nil/nil); Sudo password prompt matching broken on

From: Jimmy Yuen Ho Wong
Subject: Re: tramp ( nil/nil); Sudo password prompt matching broken on MacOS for emacs27
Date: Sat, 1 Feb 2020 17:14:52 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.4.2

On 01/02/2020 16:58, Michael Albinus wrote:
> Thanks. Could you pls send it next time as attachment? This preserves
> line breaks, and makes it easier to analyze.
Sure. Apologies, I haven't sent plaintext email in a while lol.
> And this is sent back from the remote host. Looks like a wrong password,
> maybe saved in yout .authinfo file, or so.
> Could you pls try the following command from a local shell:
> --8<---------------cut here---------------start------------->8---
> # sudo -u root -s -H -p P""a""s""s""w""o""r""d"": /bin/sh
> --8<---------------cut here---------------end--------------->8---
> Make sure to enter the proper password, and see whether it works. If
> yes, start Emacs again via "emacs -Q", and try to open /sudo::
> Make sure to enter the proper password.
> Best regards, Michael.

This works, but without entering in `sudo -u root -s -H -p
P""a""s""s""w""o""r""d"": /bin/sh` first in the terminal, the rest
wouldn't work. The prompt just got stuck at `Find file: /sudo::` without
even seeing the password prompt. I would not be able to enter the
password in this case. I've attached the trace for this.

Attachment: tramp-log.txt
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]