"Trent W. Buck" writes: > sudo -s (without -H) now aborts connection > ========================================== > > My .bashrc (et al) is mode 0600 (readable only by me). If I run "sudo > -u zippy -s" in a shell, I get the (ignorable) error > > bash: /home/twb/.bashrc: Permission denied > > Because $HOME is still /home/twb. For this reason I use sudo -i or > (on legacy systems) sudo -H -s in interactive shells. I've added "-H" to the sudo options. "-s" is already there. That shall provide backwards compatibility on all systems Tramp is running. See the appended patch. "sudo -i" might be preferrable for systems which support it, but it would be additional effort for testing this option. This contradicts performance consideratons. Best regards, Michael.