Re: Passwords on Linux systems(for all flavors)

From: Dwayne Ghant (
Date: 07/11/05

  • Next message: Glynn Clements: "Re: Passwords on Linux systems(for all flavors)"
    Date: Mon, 11 Jul 2005 06:07:40 -0700
    To: Glynn Clements <>

    What about unicode charectors in passwords.
    Glynn Clements wrote:

    > wrote:
    >>I would like to know the place where I can find the linux password
    >>constraints for the various linux flavors. What I mean is the details
    >>like number of key spaces or the key length, the types of charactors
    >>that can be used, the restrictions and the number of times the
    >>password can be tried if not infinite, etc. I am in need of these
    >>details very urgently, so please do help me on this topic.
    >On any system which uses PAM (which is almost every modern Linux
    >system), most of these are configuration options, controlled through
    >the files in /etc/pam.d and /etc/security.
    >For the underlying libc crypt() function, assuming MD5 passwords, the
    >password can be any NUL-terminated string. There is no minimum or
    >maximum length, nor any restriction on which characters (bytes) the
    >password can contain.
    >However, if a password contains any control characters or non-ASCII
    >(8-bit) characters, there may be problems entering it in certain
    >contexts. Also, individual programs may read the password into a
    >fixed-size buffer, which will impose an upper limit on the length of a

    Dwayne A. Ghant
    Application Developer
    Temple University

  • Next message: Glynn Clements: "Re: Passwords on Linux systems(for all flavors)"

    Relevant Pages

    • Tab chars are a gotcha in Update editor w/ accuterm
      ... So Telnet from microsoft is out. ... the linux man pages, in that they have a few characters ... Accuterm thus far does not seem to support Unicode, ... it nicely puts up some garbage characters onscreen to show ...
    • Horribly overdue update to unicode.txt
      ... of the Linux Assigned Names And Numbers Authority project. ... The Linux kernel code has been rewritten to use Unicode to map ... In particular, ESC (U is no longer "straight to font", since the font ... Actual characters assigned in the Linux Zone ...
    • Re: Unicode-based FreeBSD
      ... This is clearly an area where FreeBSD is lacking. ... Does Linux really display and render all Chinese ... of characters, there are also such things as precomposed-decomposed ... Non-X console in graphical mode. ...
    • Re: dot matrix printer unicode question
      ... garbage on sveral pages when I try printing out a 13 line long text ... with a real dos computer? ... additional characters. ... "COPY file LPT1" will do exactly what the Linux cat command does, ...
    • Re: Fast UTF-8 strlen function
      ... > How do I print a UTF-8 string to the console in Linux? ... technically able to render all those characters... ... Did you see my "Japanese Hello World" example? ...