[Freeipa-users] Get Creation Time / Last Login Time for Users
Martin Kosek
mkosek at redhat.com
Wed May 11 08:48:56 UTC 2016
On 05/05/2016 03:23 AM, Jeff Hallyburton wrote:
> Hello,
>
> We're looking for a way to get last login time and creation time for
> users configured in FreeIPA. This information doesn't seem to be in
> the WebUI and ipa user-status only provides limited information (last
> failed/successful logins in seconds since epoch). Is there a
> supported way to get this information?
>
> Jeff Hallyburton
> Strategic Systems Engineer
> Bloomip Inc.
> Web: http://www.bloomip.com
>
> Engineering Support: support at bloomip.com
> Billing Support: billing at bloomip.com
> Customer Support Portal: https://my.bloomip.com
>
Hi,
Could you use ldapsearch?
# ldapsearch -Y GSSAPI -b "cn=users,cn=accounts,dc=rhel72" createtimestamp
krbLastSuccessfulAuth
...
# admin, users, accounts, rhel72
dn: uid=admin,cn=users,cn=accounts,dc=rhel72
createtimestamp: 20160308160512Z
krbLastSuccessfulAuth: 20160511084800Z
# labadmin, users, accounts, rhel72
dn: uid=labadmin,cn=users,cn=accounts,dc=rhel72
createtimestamp: 20160321081650Z
krbLastSuccessfulAuth: 20160321082135Z
...
Martin
More information about the Freeipa-users
mailing list