Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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
![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |