# problem: changing account password with ansible on aix

**URL:** <https://forum.ansible.com/t/problem-changing-account-password-with-ansible-on-aix/29661>\
**Category:** Ansible Project\
**Created:** [February 12, 2019, 5:48pm UTC](https://forum.ansible.com/t/problem-changing-account-password-with-ansible-on-aix/29661 "2019-02-12T17:48:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jzmendo](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jzmendo](https://forum.ansible.com/u/jzmendo)\
**Post date:** [February 12, 2019, 5:48pm UTC](https://forum.ansible.com/t/problem-changing-account-password-with-ansible-on-aix/29661/1 "2019-02-12T17:48:43Z")

</div>

Hi. i run my playbook to change user account password but this dont work , not change the password.  
iam using aix 6 and 7.

this same playbook work fine on Linux.

this is my simple playbook to change password on a user acoount .

- name: Change account password  
hosts: “AIXQA”  
remote\_user: ext00025  
tasks:
- name: Changing user account password ext00025  
user: name=ext00025 update\_password=always password=$1$SysAdm1n$W01N55jxDbwQf0JZsuKNn0

regards.

---

<div class="post-metadata">

**Author:** ![hugonz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/hugonz/32/503_2.png) [@hugonz](https://forum.ansible.com/u/hugonz)\
**Post date:** [February 12, 2019, 8:49pm UTC](https://forum.ansible.com/t/problem-changing-account-password-with-ansible-on-aix/29661/2 "2019-02-12T20:49:34Z")

</div>

The method for salting and hashing the password is probably different in AIX, remember you’s passing a hashed password and that’s platform dependent. You will have to find a way to do that for AIX. There’s some information in the following links

[https://docs.ansible.com/ansible/latest/user\_guide/playbooks\_prompts.html](https://docs.ansible.com/ansible/latest/user_guide/playbooks_prompts.html)

[https://docs.ansible.com/ansible/latest/reference\_appendices/faq.html#how-do-i-generate-crypted-passwords-for-the-user-module](https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-generate-crypted-passwords-for-the-user-module)

Hugo G.
