LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-16-2006, 11:00 PM   #1
shankarjha
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0

Hi,
My problem is..
What command is used to find the logging status of any particular user for few days back.
Shankar
RHCE
 
Old 04-17-2006, 08:58 AM   #2
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 30
Can you clarify what you mean by "logging status"?

Also, I take it you mean for the system as a whole, as opposed to a specific application?
 
Old 04-17-2006, 03:14 PM   #3
MoonMind
Member
 
Registered: May 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 448

Rep: Reputation: 38
shankarjha:

If you'd like to find out who has been on when and how long, open a console (xterm) (or type at the cli if you're already there):
Code:
last
Depending on the usage of your box, you might get quite a long list. However, normally last is reset according to a schedule (in order not to let the log file grow to big), so you'll only see the logins since the latest reset.

To view the output page by page, use
Code:
last | more
For anything else, consult man last
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
No echo for user id when logging in LORDL Linux - General 1 07-28-2005 12:21 PM
Logging in as non-privileged user TastyWheat Linux - Security 2 09-27-2004 01:58 AM
Logging user in & out Crunch Linux - Security 3 06-20-2004 05:48 AM
Logging On As Root User BACTRATE Mandriva 6 02-16-2004 10:48 AM
User news logging in? Mike_the_Man Linux - General 0 07-01-2002 07:56 AM


All times are GMT -5. The time now is 10:15 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 Google+: linuxquestions
Open Source Consulting | Domain Registration