How to read the password change time stamp from /etc/shadow?

14 views
Skip to first unread message

Cev Ing

unread,
Feb 6, 2017, 9:00:58 AM2/6/17
to Ansible Project
How to read the time the password has last changed in order to compare it with some date?

Brian Coca

unread,
Feb 6, 2017, 9:16:13 AM2/6/17
to Ansible Project
getent module, but you probably need to be root to have read access.
http://docs.ansible.com/ansible/getent_module.html


----------
Brian Coca
Reply all
Reply to author
Forward
0 new messages