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
Solved! Go to Solution.
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.
Because the system finds "passwd" at "/usr/bin/passwd".
If you have the "passwd" file in /bin/busybox, you must create a new symbolic link as follows.
# ln -s /bin/busybox /usr/bin/passwd
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.