The problem is using the last command, with last you can use the -f switch to point to a different file, so I can use that to point at the owtmpx file which has the previous days info. But really we want to use last and get a months worth.
I am thinking about setting up a cron job to run after runpacct, to save off the owtmpx and append it to another file. I guess I have to make it asci first etc.
I guess their rationale is that last should be used only to see the last time a user logged in, but if they have logged in more than a day ago, the info is lost.
I was hoping I could confgiure account not to truncate the wtmpx file with an option, or alternate method to gleen the same info.
cheers,
D.