Support for passwords greater than 8 characters

In AIX 5.2 and 5.3(pre TL7), there has been a 8 character password limitation when using the one-way hash function crypt().
AIX 5.3 TL7 and AIX 6.1 introduce Loadable Password Algorithm (LPA).
Each supported password encryption algorithm is implemented as a LPA load
module that is loaded at runtime when the algorithm is needed. The supported LPAs, and its attributes, are defined in system configuration file
/etc/security/pwdalg.cfg.
----------------------------------------------------------------------------------
the different algorithms are
MD5---------------->255
SHA1--------------->255
SHA265------------->255
SHA512------------->255
Blowfish----------->72
--------------------------------------------------------------------------------
NOTE: Without the pwd_algorithm entry in /etc/security/login, the default value is
"crypt" which is the legacy crypt() function.
----------------------------------------------------------------------------------
Applying one of the new passwd hashing algorithms

To select a different LPA, the system administrator can either use the chsec command or manually edit the /etc/security/login.cfg file.

Using chsec command
Use the following chsec command to set "smd5" LPA as the system wide
password encryption module:
chsec -f /etc/security/login.cfg -s usw -a pwd_algorithm=smd5

When using the chsec command to modify the pwd_algorithm attribute, the command checks the /etc/security/pwdalg.cfg to verify the chosen LPA. The command fails if the check are failed.

Using editor
When administrator manually changes the pwd_algorithm attribute value in
/etc/security/login.cfg using an editor, please make sure that the chosen value is a name of a stanza that is defined in /etc/security/pwdalg.cfg file.

Comments

Popular posts from this blog

Installing and configuring the storage agent (AIX)

Breaking mirrors on an existing mksysb

Move a file system to another volume group