I have a boundary devices nitrogen 6x board and am trying to get an SSH connection to function. After logging into the device using the console I type:
passwd
it returns;
root@freescale ~$ passwd
Changing password for root
New password:
Bad password: too weak
Retype password:
Password for root changed by root
then when I try and login using ssh, after giving the correct password it returns:
login as: root
root@192.168.2.117's password:
Last login: Thu Jan 1 00:00:39 1970 from 192.168.2.109
WARNING: Your password has expired.
You must change your password now and login again!
passwd: No such file or directory
My ethernet is using DHCP to get it IP address.
Any help would be appreciated on how to properly set a root password for linux.
Thanks
已解决! 转到解答。
It appears that the problem came from the date and time of the unit.
Changed date using
date -s yyyy.mm.dd-hh:mm:ss
redid password and the ssh connection worked.