Last Login

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

Brian_K
Posts: 13
Joined: Mon Jan 10, 2005 1:01 pm

Last Login

Postby Brian_K » Fri Oct 06, 2006 10:24 am

I know in SAC you can see when the last time a user has logged into check their email, but is there a way to produce a global report from the command line that will give the last time a user has logged into the system? I know if you run the olkvers script from the admin resource kit it will give you some of thie information, but I don't think it is listing everyone.

Any ideas?

Thanks,
Brian in RI

AussieOwner
Scalix
Scalix
Posts: 61
Joined: Fri Dec 17, 2004 9:54 am
Location: San Diego, CA

Postby AussieOwner » Fri Oct 06, 2006 6:40 pm

This little script should do the trick.

Code: Select all

omshowu -m all | while read ID
  do
    lastsignon=`omshowu -n "$ID" | grep "Last Signon :"`
    echo -e "$ID\t$lastsignon"
  done


Darrell

Brian_K
Posts: 13
Joined: Mon Jan 10, 2005 1:01 pm

Postby Brian_K » Tue Oct 10, 2006 10:09 am

Hi Darrell,

Thanks for the script. However I tried to run it and it listed the CN name but didn't list any of the last login information. Is there something I'm missing?

Thanks,
Brian


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest