Password length restriction

Discussion in 'General' started by wxman, Nov 8, 2009.

  1. wxman

    wxman New Member

    I was wondering if there is any restrictions on password length? I ask because I set up a new FTP user, but the login kept failing. The user's password was a random 20 character password. After I shortened it to 15 characters, I could log in.
     
  2. till

    till Super Moderator

    I'am not aware of such a restriction in the crypt implementation in php.
     
  3. wxman

    wxman New Member

    Could there possibly be any of the typical ASCII characters that could mess up a password?
     
  4. till

    till Super Moderator

    Thats possibe. Have you tried if e.g. a password containing just 20 times the character "a" works?
     
  5. wxman

    wxman New Member

    I just tried an FTP password of 30 "a" and it worked. I don't know if I have the patience to go through all the ASCII characters to find which one it didn't like.
     

Share This Page