On 24.05.2018 03:52, [email protected] wrote:
Thanks Werner for your quickly response,

I manual create a new user "raytest" and set password to "123456". I don't
find the crypted password of the new user match the format that you
mention. Do you help find the crypt method? Thanks.

The below is the crypted password string in /etc/security/passwd file.
raytest:
        password = bo8Dqpvt3wnb.
        lastupdate = 1527172932
        flags = ADMCHG

It's using the inferior des and not sha-512

$ echo 123456 | mkpasswd -m des -S bo -s
bo8Dqpvt3wnb.


--
Kai Stian Olstad

--
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/b12a5da64684cbfcce86b450495fcc07%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to