LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This 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
 
Thread Tools
Old 01-27-2009, 08:27 PM   #1
avklinux
Member
 
Registered: Nov 2008
Posts: 32
Thanked: 0
How to Find : Inactive user for a defined period of time ?


[Log in to get rid of this advertisement]
Thanks
Avklinux
avklinux is offline     Reply With Quote
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
Thanked: 52
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").
Uncle_Theodore is offline     Reply With Quote
Old 01-28-2009, 12:37 PM   #3
avklinux
Member
 
Registered: Nov 2008
Posts: 32
Thanked: 0

Original Poster
Thanks for Reply.

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

Thanks
AVk
avklinux is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


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 06:03 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration