Hello Anthony,
I don't know if there is an official tool for that, but since I once
wrote a similar script, you might be happy with that. It requires that
your Python 3 installation has got the IPA libraries installed and you
have got a valid Kerberos ticket. I have tested it only on Fedora so far.
I hope it's useful for you and you can modify it to your needs.
Regards,
Julian
On 09/03/2019 05.03, freeipa-users-request(a)lists.fedorahosted.org wrote:
> Date: Fri, 8 Mar 2019 11:50:55 -0500
> From: Anthony Jarvis-Clark<anthonyclarka2(a)gmail.com>
> Subject: [Freeipa-users] list all users and their password expiration
> date?
> To: FreeIPA users list<freeipa-users(a)lists.fedorahosted.org>
> Message-ID:
> <CAJGYKdMpG5ovFfLoa8w0VqSnd1A__awvzbqe3kfTF1w+My86mQ(a)mail.gmail.com>
> Content-Type: multipart/alternative;
> boundary="0000000000006d0281058398074b"
>
> --0000000000006d0281058398074b
> Content-Type: text/plain; charset="UTF-8"
>
> Hello Everyone,
>
> Is there a command line method to get a list of users and their password
> expiration date?
>
> Thanks!
>
> -Anthony
>
> --0000000000006d0281058398074b
> Content-Type: text/html; charset="UTF-8"
>
> <div dir="ltr">Hello Everyone,<div><br></div><div>Is there a command line method to get a list of users and their password expiration date?</div><div><br></div><div>Thanks!</div><div><br></div><div>-Anthony</div></div>
>
> --0000000000006d0281058398074b--