LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 01-27-2009, 08:27 PM   #1
avklinux
Member
 
Registered: Nov 2008
Posts: 32

Rep: Reputation: 15
How to Find : Inactive user for a defined period of time ?


Thanks
Avklinux
 
Old 01-27-2009, 08:40 PM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 59
By inactive you mean users who haven't logged in for a specified amount of time? First that comes to mind is something like this

lastlog -t 10000 > temp1; lastlog -t 10 > temp2; diff temp1 temp2; rm temp1; rm temp2

It will show you the users who haven't logged in in 10 days. (10000 is just a "big period of time").
 
Old 01-28-2009, 12:37 PM   #3
avklinux
Member
 
Registered: Nov 2008
Posts: 32

Original Poster
Rep: Reputation: 15
Thanks for Reply.

yes. I just want to know about the inactive user for a certain period of time .

Thanks
AVk
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
is there any time period for taking 310-202 LinuxLover Solaris / OpenSolaris 0 10-12-2007 11:44 AM
FC5 slows down after period of time asidarin Linux - Server 19 06-25-2007 11:46 AM
Long period of time to install Peter_APIIT Fedora 4 03-25-2007 01:03 AM
Slackware IP resolution time period problem phoenixx Linux - Distributions 5 05-11-2005 08:36 PM
Running a program for a specific period of time CaptainHowdy Linux - Software 2 08-22-2004 08:02 PM


All times are GMT -5. The time now is 05:22 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration