jzmendo
February 12, 2019, 5:48pm
1
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.
hugonz
(Hugo F. Gonzalez)
February 12, 2019, 8:49pm
2
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.