Changing password using passwd command asking new password three times

Why is passwd asking to type new password three times? Application (PowerBroker- Password Safe) is expecting only two times.
uxpam01@ptoolnxd:~> sudo passwd hanaos01
New password: <<-- 1st time
Retype new password: <<-- 2nd time
Retype new password: <<-- 3rd time

cat common-password
password requisite pam_cracklib.so retry=3 minlen=14 dcredit=-1 lcredit=-1 ucredit=-1 ocredit=-1
password required pam_pwhistory.so use_authtok remember=5
password sufficient pam_unix.so use_authtok nullok shadow try_first_pass
password required pam_sss.so use_authtok

Hi and welcome to the Forum :slight_smile:
Because it needs to be done by root user not via sudo. You could configure sudoers to allow your user access to the passwd command without a password should work (I don’t use sudo).