tramp-devel
[Top][All Lists]
Advanced

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

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


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

Correction:

For bug 2 step 3, Emacs is should be launched from the GUI, otherwise
it'll inherit the environment of the terminal shell, and you may see
different results.

On 01/02/2020 17:47, Michael Albinus wrote:
> Jimmy Yuen Ho Wong <address@hidden> writes:
>
> Hi,
>
>> 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.
> I don't understand. Could you pls explain both test results?
>
> - The call of sudo -u root -s -H -p P""a""s""s""w""o""r""d"": /bin/sh
>   in the local shell
>
> - Opening /sudo:: in a new Emacs session, started with "emacs -Q".
>
> Furthermore, the attached trace still doesn't tell us what's up. And it
> doesn't seem to be the full trace, starting from the beginning. Could
> you pls produce another trace, but with tramp-verbose set to 10? Like
>
> # emacs -Q -l tramp --eval '(setq tramp-verbose 10)' /sudo::
>
> Best regards, Michael.



reply via email to

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