Moving Away from sudo su (Ubuntu 26.04, sudo-rs)
Use sudo -i instead of sudo su. In Ubuntu 26.04, the traditional sudo implementation has been replaced by sudo-rs, and signal handling seems to have changed slightly. As a result, if your SSH connection drops while you are running sudo su, the sudo su processes can stay alive indefinitely…