thats an incredibly strange take, like that is literally the complete opposite of what is happening
echo 'pi:raspberry' | chpasswd