I'm not able to connect with SSH because of SUID warning

7,036

SOLUTION:

The source of the problem is the date on my ARM board. This is the reason that the 'password has expired'.

To set up correct date, use:

# date -s '[current date]'

command on an ARM board, and:

# hwclock -w

to keep date settings on the hardware.

Share:
7,036

Related videos on Youtube

cooba
Author by

cooba

Updated on September 18, 2022

Comments

  • cooba
    cooba over 1 year

    When I try to connect with another machine, after this command below:

    user1@host1:~$ ssh user2@host2
    user2@host2's password: 
    

    I receive:

    WARNING: Your password has expired.
    You must change your password now and login again!
    passwd: must be suid to work properly
    Connection to host2 closed.
    user1@host1:~$ 
    
    • host1 is Ubuntu OS machine

    • host2 is Buildroot OS machine

    Obviously I've changed my password, but it didn't help.

    What is wrong? How can I fix it?

    • beroe
      beroe about 9 years
      You were about to change the password on host2? (Your post said "hanged" and I think you meant "changed" but maybe you mean "mucked up"? If you want to reset and create a new sshkey you can delete the lines corresponding to host2 in .ssh/known_hosts
    • cooba
      cooba about 9 years
      @beroe: I just want to get access to host2 (with Buildroot) via ssh, but it's just sending this warning and my connection gets closed. I don't know what is wrong.
  • cooba
    cooba about 9 years
    kevinhunlty: Sorry, I don't understand what you mean.
  • cooba
    cooba about 9 years
    MCon: This is the result: dpaste.com/1F1CEWH
  • Kevin Huntly
    Kevin Huntly about 9 years
    Do you have physical access to the machine? Are you able to login directly to the console?
  • cooba
    cooba about 9 years
    kevinhuntly: Thank you, but problem solved (below).
  • grepit
    grepit about 7 years
    thanks, it worked but is there any more info /link on this ?