imx6 ltib password fails

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6 ltib password fails

Jump to solution
1,748 Views
michaeldiamond
Contributor III

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

Labels (2)
1 Solution
618 Views
michaeldiamond
Contributor III

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.

View solution in original post

2 Replies
618 Views
toipaz
Contributor III

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

0 Kudos
619 Views
michaeldiamond
Contributor III

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.