Computing.Net > Forums > Unix > lastlog / inactive users

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to get for your free account now!

lastlog / inactive users

Reply to Message Icon

Name: Fouad
Date: December 3, 2008 at 07:40:49 Pacific
OS: AIX 5.2
CPU/Ram: 4 / 8GB
Manufacturer/Model: p5
Comment:

I am looking for a scripts (Korn shell)to extract from /etc/security/lastlog a list of users and their last login ones a month afterward this script shall compare this list with the /etc/passwd file(where all users are listed) and send the information about the no active users(which are not found in the lastlog file) per mail to system administrator.

Many thanks in advance,

Fouad


Report Offensive Message For Removal
Reply to Message Icon

Related Posts

See More







Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: lastlog / inactive users

How to delete user? www.computing.net/answers/unix/how-to-delete-user/2742.html

Can a normal user create a user with useradd ??? www.computing.net/answers/unix/can-a-normal-user-create-a-user-with-useradd-/1258.html

How to kill idel user www.computing.net/answers/unix/how-to-kill-idel-user/4678.html