3 ms·
loopback mount and chroot into the fs, passwd. I'm sure there are probably easier ways though
by _joel 5y ago
loopback mount and chroot into the fs, passwd. I'm sure there are probably easier ways though
- ajsnigrutin 5y agoI'm not sure that the arm binary "passwd" will run on x86/_64
- _joel 5y agoAhh yes, there's qemu-arch64 but that's probably another rabbithole :)
- usr1106 5y agoI have used qemu-static a lot to work with ARM images and it works surprisingly well. That was before arm64 was a thing, but unless someone tells me the opposite I would not assume it makes a difference. The only thing that I remember not working is strace(1) because ptrace(2) is unimplemented. But even for that there is a special qemu option to get something similar.
- qbasic_forever 5y agoQEMU and binfmt_misc should do the trick: https://wiki.debian.org/QemuUserEmulation https://wiki.debian.org/QemuUserEmulation