Reset last login time

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
mmgomess
Advanced member
Advanced member
Posts: 51
Joined: Thu Sep 04, 2014 7:13 am

Reset last login time

Post 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.
mmgomess
Advanced member
Advanced member
Posts: 51
Joined: Thu Sep 04, 2014 7:13 am

Re: Reset last login time

Post by mmgomess »

Please... I really need this.
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Reset last login time

Post 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
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
huuphan
Posts: 4
Joined: Sat Nov 12, 2016 1:33 am
ZCS/ZD Version: zimbra 8.6
Contact:

Re: Reset last login time

Post 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
Post Reply