Dormant User Script

From: baski r (fun5292@yahoo.com)
Date: Mon Jul 10 2006 - 09:02:53 EDT


Hi All,

Can anyone help me in building a script for extracting Dormant users(90 Days) from the SunOs servers. I tried following steps

1. Used finger command to get the Last Login information. But not able to make a logic for 90 days from the given date .
2. Also tried "who /var/adm/wtmpx" to get the last login information. But the info does not have year details. And also this file is being rotated.
3 Even tried last command.

    The only problem i face is to write a logic for the date conversion. Kindly help me out in this regard to get a complete script to extract Dormant users in anyways.

Thanks in advance,

Pravin
 Next-gen email? Have it all with the all-new Yahoo! Mail Beta.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:40:21 EDT