Page 1 of 1

Reset last login time

Posted: Tue Jul 25, 2017 12:26 am
by mmgomess
Please everyone.

I need to reset the last login time for all accounts. It´s possible?

Marcelo Gomes
Release 8.7.9.GA.1794.UBUNTU16.64 UBUNTU16_64 FOSS edition.

Re: Reset last login time

Posted: Wed Jul 26, 2017 12:37 pm
by mmgomess
Please... I really need this.

Re: Reset last login time

Posted: Wed Jul 26, 2017 1:09 pm
by phoenix
You can write a script to reset the last logon time, you can find that field by doing a "zmprov ga <accountname>": https://wiki.zimbra.com/wiki/Ajcody-Use ... in_Summary

Re: Reset last login time

Posted: Wed Jul 26, 2017 3:20 pm
by huuphan
Hi mmgomess,
You can write script on zimbra ldap, To change zimbraLastLogonTimestamp field of account.
Input /tmp/email file, for example change last login time for 4 account email as bellow:


you can ref to my script "zimbra ldap reset last login time" https://goo.gl/tcykDE