Originally Posted by jjthomas
I'm trying to do the Remote Installation as provided here
. I am able to make the ssh connection, login as root and I am prompted for a password.
From looking at /etc/shadow there does not appear to be a password.
I was able to run passwd from the computer console and change the password to a blank password.
Busybox is built to allow an empty password, and in the run up to releasing 14.1 I found that it was no longer effective, and worked around it for Slackware ARM by adding this hack to the installer's rc.local which just adds in the encrypted 'empty' password:
sed -i 's?^root:.*?root:joFWnPF2bJhPc:0:0:::::?g' /etc/shadow
However, I thought it'd been fixed properly - perhaps not.
If you need to boot the installer with a working empty password, you could unpack the installer, edit the shadow file and re-pack it.
mkdir q; cd q
zcat ../initrd.img | cpio -di
sed -i 's?^root:.*?root:joFWnPF2bJhPc:0:0:::::?g' etc/shadow
find . | cpio -o -H newc | gzip -9fv > ../initrd.img