Operating System - HP-UX
1834456 Members
3015 Online
110067 Solutions
New Discussion

Create a script for userIDs which are NOT login for 3 months

 
Dewa Negara_1
Advisor

Create a script for userIDs which are NOT login for 3 months

I want to create a script that will give information all userIDs which are NOT login for 3 months. Any one can help me on this. tHanks alot in advance.

Regards,
Dewa
log all your daily activities on syslog.log every time...
2 REPLIES 2
Michael Tully
Honored Contributor

Re: Create a script for userIDs which are NOT login for 3 months

You can find this information using the 'last' command, providing you have the necessary files still on your system that go back that far. If you haven't you will need to restore them. If you have a trusted there is other information that can be gathered.



Anyone for a Mutiny ?
Donald Kok
Respected Contributor

Re: Create a script for userIDs which are NOT login for 3 months

In a trusted system you can automatically disable users who are dorment.
My systems are 100% Murphy Compliant. Guaranteed!!!