Michael Albinus writes: > machine HOST port sudo login USER password secret Ah! ok it is working now with my username and not "root" as before. Anyway it should not crash emacs when an entry in authsource is wrong, it should fail more gracefully. To reproduce replace your username in authinfo by "root" and try /sudo:: PS: Emacs first freeze and then I have to "killall emacs" several times to get it killed effectively. -- Thierry