# Changing password using passwd command asking new password three times

**URL:** <https://forums.suse.com/t/changing-password-using-passwd-command-asking-new-password-three-times/35078>\
**Category:** SUSE Linux Enterprise Server\
**Created:** [June 15, 2020, 5:31pm UTC](https://forums.suse.com/t/changing-password-using-passwd-command-asking-new-password-three-times/35078 "2020-06-15T17:31:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manoj](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@Manoj](https://forums.suse.com/u/Manoj)\
**Post date:** [June 15, 2020, 5:31pm UTC](https://forums.suse.com/t/changing-password-using-passwd-command-asking-new-password-three-times/35078/1 "2020-06-15T17:31:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [June 15, 2020, 8:52pm UTC](https://forums.suse.com/t/changing-password-using-passwd-command-asking-new-password-three-times/35078/2 "2020-06-15T20:52:00Z")

</div>

Hi and welcome to the Forum 🙂  
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).
