I disabled the wrong network interface in the /etc/network/interfaces file on my headless Ubuntu PC. Now I can't ssh into it. I'd need to edit the file again and I don't have a display for that machine right now.
Can I just insert the HDD into another Ubuntu machine and edit the file? I know that I can't boot from that HDD but can I access all the files on it? If yes, do I get into permission troubles once I put the HDD back in the original machine?