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 start participating now! Also, be sure to check out the New User Guide.

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
Product: 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



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


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