Code: Select all
openssl passwd -1 'password'
But I'm sure I remember chrooting into the mounted SD card. This was the first avenue I explored, and the solution commonly suggested uses qemu-user-static:
https://wiki.debian.org/RaspberryPi/qemu-user-static
However, this doesn't appear to be straightforward in Slackware (I have qemu installed and can't find that thing, though this old slackbuild from alienbob looks as though it builds it:
https://docs.slackware.com/howtos:emulators:binfmt_misc)
I have a niggling feeling there is a much easier way and I have just forgotten it.