problem: changing account password with ansible on aix

19 views
Skip to first unread message

jzm...@gmail.com

unread,
Feb 12, 2019, 12:48:43 PM2/12/19
to Ansible Project
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.
       

Hugo Gonzalez

unread,
Feb 12, 2019, 3:49:50 PM2/12/19
to ansible...@googlegroups.com

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/reference_appendices/faq.html#how-do-i-generate-crypted-passwords-for-the-user-module


Hugo G.

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/efd753c5-85f3-445a-a49f-0fd9dcbea52c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Hugo F. gonzalez

Senior Consultant

Red Hat LATAM

Reply all
Reply to author
Forward
0 new messages