CPM Plugin - Unix passwords are not changing or reconciling due to multiple password confirmation prompts

CPM Plugin - Unix passwords are not changing or reconciling due to multiple password confirmation prompts

107
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 16:05 PM


Symptom


Multiple password confirmation prompts are causing the CPM to fail with a 7001 error because there is more than one re-type password prompt when changing a password.

For example, notice the prompts below when performing a manual password operation on a UNIX machine:

$ sudo passwd <username>
Changing password for user <username>.
New password:
Retype new password:
Retype new password:

There is more than one prompt to "Retype new password:"


Environment


10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10 Component: CPM
Target system: UNIX based clients


Cause


Multiple entries of pam_cracklib.so in PAM configuration file (system-auth and password-auth)

Resolution


Target system may contain multiple entries of pam_cracklib.so in the PAM configuration file (system-auth and password-auth):

Example:

password    required      pam_cracklib.so minlen=8 minclass=2
password    requisite     pam_cracklib.so try_first_pass retry=3 type=

Remove one entry and add options to the other entry.

Example:

password requisite pam_cracklib.so try_first_pass retry=3 minlen=8 minclass=2 type=



Reference: https://www.centos.org/forums/viewtopic.php?t=46769


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001KzICAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail