List all inactive users who has not logged on since last 90 days | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

List all inactive users who has not logged on since last 90 days

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-25-2008
haridham haridham is offline
Registered User
 
Join Date: Jul 2008
Last Activity: 25 July 2008, 3:20 AM EDT
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
List all inactive users who has not logged on since last 90 days

I need actuall script which List all inactive users who has not logged on since last 90 days

Thanks in advance.
Di!
Sponsored Links
    #2  
Old 07-25-2008
itik itik is offline
Registered User
 
Join Date: Oct 2007
Last Activity: 12 December 2013, 10:00 PM EST
Location: Toronto, Ontario
Posts: 383
Thanks: 0
Thanked 2 Times in 2 Posts
You can get all that info on /etc/shadow, can't give you what I have, I didn't write it.
Sponsored Links
    #3  
Old 07-25-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
 
Join Date: Mar 2008
Last Activity: 28 March 2011, 6:41 AM EDT
Location: /there/is/only/bin/sh
Posts: 3,653
Thanks: 0
Thanked 10 Times in 8 Posts
The passwd command has some useful options. See its manual page.
    #4  
Old 07-25-2008
haridham haridham is offline
Registered User
 
Join Date: Jul 2008
Last Activity: 25 July 2008, 3:20 AM EDT
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
I am not getting you. /etc/shadow has password information.I need to generate list of users who has not logged on since last 90 days.
Sponsored Links
    #5  
Old 07-25-2008
incredible incredible is offline Forum Advisor  
Registered User
 
Join Date: May 2008
Last Activity: 1 June 2012, 4:25 AM EDT
Location: SINGAPORE.. The "FINE" City
Posts: 2,693
Thanks: 1
Thanked 19 Times in 19 Posts
You have to use the "last" command and use that to manipulate.
Do you need further information?
Sponsored Links
    #6  
Old 07-25-2008
haridham haridham is offline
Registered User
 
Join Date: Jul 2008
Last Activity: 25 July 2008, 3:20 AM EDT
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
I am actualll new to this system. Can you give me script?
Sponsored Links
    #7  
Old 07-25-2008
incredible incredible is offline Forum Advisor  
Registered User
 
Join Date: May 2008
Last Activity: 1 June 2012, 4:25 AM EDT
Location: SINGAPORE.. The "FINE" City
Posts: 2,693
Thanks: 1
Thanked 19 Times in 19 Posts
I do not have that in hand, if you give me some time, I will prepare one.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Users not logged in for last 90 days reddyr Shell Programming and Scripting 1 03-17-2011 10:55 AM
Get the list of logged in users xyzt Programming 2 04-15-2009 02:44 PM
How to do a login time and date list of users never logged on? gogol_bordello UNIX for Dummies Questions & Answers 4 03-26-2009 08:31 AM
List all inactive users who has not logged on since last 90 days manasranjanpand UNIX for Dummies Questions & Answers 10 07-02-2008 06:45 AM
Trying to get list of logged on users sorted kungfuice Shell Programming and Scripting 7 07-26-2006 02:35 PM



All times are GMT -4. The time now is 08:56 PM.