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 <[email protected]> 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.
