Reset last login time

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

Reset last login time

Postby mmgomess » Tue Jul 25, 2017 12:26 am

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
Posts: 49
Joined: Thu Sep 04, 2014 7:13 am

Re: Reset last login time

Postby mmgomess » Wed Jul 26, 2017 12:37 pm

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

Re: Reset last login time

Postby phoenix » Wed Jul 26, 2017 1:09 pm

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

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
huuphan
Posts: 4
Joined: Sat Nov 12, 2016 1:33 am
ZCS/ZD Version: zimbra 8.6
Contact:

Re: Reset last login time

Postby huuphan » Wed Jul 26, 2017 3:20 pm

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

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 6 guests