On Wed, May 23, 2018 at 7:24 AM,  <[email protected]> wrote:
> Hello everybody,
>
>      I am using Ansible user module to create Aix machine account. I found
> that the new created user can't login Aix machine.
>
>      The below is my some test step;
>      1. Generate a crypted password by ansible provided method. The
> cleartext password is "123456"
> http://docs.ansible.com/ansible/faq.html#how-do-i-generate-crypted-passwords-for-the-user-module
>      2. Use below command to create a new Aix user successful.
> ansible 192.168.2.*** -m "user" -a "state=present name=ray
> password=$6$PbSwE6eWakaP9VSl$GjZhuR5.6ICTM6K/.91gss2iYbhJoLU1B51XXqxCMIcVi17IMAegxlcfWNfWkuYkldRuKJLw9xjTp/F4.hFYq0"
>      3. Login Aix machine with the new user failed. The reason is error
> password.
>
> If we get a crypted password by Aix from /etc/security/passwd, replace the
> above password that was crypted by ansible doc with the new crypted
> password. We can login Aix with new account.
>
> So, the issue reason should be Aix machine can't accept the cryted password
> that is generated by referring Ansible doc.
> How can we generate a correctly password for Aix machine?  Thank a lot.
>
      Was the user creation successful as far as Ansible was
concerned? Anything interesting in the AIX box's log file? Did you
check the /etc/security/passwd file?

>
> Thanks
> Ray Tan
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/8f7c89ae-43e3-483b-add7-dfe39be92f6d%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAHEKYV5etjBnymmEPa0jrAzEwhEa24MNrwNpjzhcOy%2BA9j_GAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to