This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

login at ASL with partially password

Me and some others uses a password with "a few more characters than the ordanery man in the street"... But recently discovered that you could log in with the 8 first characters no mather how long your password might be. Could anyone tell me why this is, and if there is a fix for this?  


This thread was automatically locked due to age.
Parents
  • That is completly normal. Only the first 8 characters are matched.

    Xeno 
  • The design philosophy is "that's the way Linux works!"

    Using nonprintable characters and a hashing function, they could support longer unique passwords, but I think they have bigger fish to fry...

    Though they should have a field template that stops printing asterisks when you hit the length limit; right now you have a false sense of security ("Not to worry! I have a really long password!")
Reply
  • The design philosophy is "that's the way Linux works!"

    Using nonprintable characters and a hashing function, they could support longer unique passwords, but I think they have bigger fish to fry...

    Though they should have a field template that stops printing asterisks when you hit the length limit; right now you have a false sense of security ("Not to worry! I have a really long password!")
Children
  • I was not happy with those simple answers, so I did a little searching for myselfe and found that in other distros, you can edit /etc/login.defs and change the value of PASS_MAX_LEN from 8 to what ever you want. I do not find PASS_MAX_LEN in /etc/login.defs, only

    PASS_MAX_DAYS   99999
    PASS_MIN_DAYS   0
    PASS_MIN_LEN    5
    PASS_WARN_AGE   7

    But I guess just adding it will work ass well?