Console and SSH passwords complexity

Last Updated : Apr 09, 2025 |
Prolog information
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 the MD5 hash algorithm.
Note:
Password Authentication Module (PAM) enforces password security, and hashes are stored in: /etc/shadow