After doing DD, I mound the SD card, and modifies some files.
I would like to change the default password from "raspberry" to something else.
However when I try to modify the passwd file I get an error
Code: Select all
# echo -e "linuxpassword\nlinuxpassword" | passwd -R /media/kfa/rootfs pi
passwd: Cannot determine your user name.
Kjeld