The Console and SSH passwords must adhere to the following requirements:
Contain at least eight characters.
Contain at least two uppercase characters, not including the first character of the password.
Contain at least one lowercase character.
Contain at least one special character.
Contain at least two digits, not including the last character of the password.
The Console and SSH passwords do not have a limit on the maximum length and are hashed by MD5 hash algorithm.
Note:
Password Authentication Module (PAM) enforces password security, and hashes are stored in: /etc/shadow