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: supp...@bloomip.com
> Billing Support: bill...@bloomip.com
> Customer Support Portal:  https://my.bloomip.com


Could you use ldapsearch?

# ldapsearch -Y GSSAPI -b "cn=users,cn=accounts,dc=rhel72" createtimestamp
# 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


Manage your subscription for the Freeipa-users mailing list:
Go to http://freeipa.org for more info on the project

Reply via email to