Hi Michael, Michael Albinus writes: > Thierry Volpiatto writes: > > Hi Thierry, > >> This is not happening up to Emacs-28.1, this starts happening recently >> from emacs-29+. > > Do you use a "sudo" connection? Yes. > There has been a change in the .authinfo entry, see etc/NEWS from > master: > > *** Proper password prompts for methods "doas", "sudo" and "sudoedit". > The password prompts for these methods reflect now the credentials of > the user requesting such a connection, and not of the user who is the > target. This has always been needed, just the password prompt and the > related 'auth-sources' entry were wrong. Ok thanks, will try soon to modify authsource file. > And the Tramp manual says > > For the methods ‘doas’, ‘sudo’ and ‘sudoedit’ the password of the > user requesting the connection is needed, and not the password of the > target user. If these connections happen on the local host, an entry > with the local user and local host is used: > > machine HOST port sudo login USER password secret Is this compatible with previous emacs versions (at least 28)? I use default port sudo login root password xxxxx since years now so I was surprized this stopped working suddently. >> It asks also to save password in authinfo file when entering password. >> Really annoying. > > See the Tramp manual: > > If no proper entry exists, the password is read interactively. > After successful login (verification of the password), Emacs offers to > save a corresponding entry for further use by ‘auth-source’ backends > which support this. This can be changed by setting the user option > ‘auth-source-save-behavior’ to ‘nil’. Ok thanks for this, I don't want anything writing in this file. Thanks. -- Thierry