LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 02-28-2005, 03:08 AM   #1
QAR
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
How to view recent and current logins?


Hi There,


Would somebody please let me know how to view the recent on current logins on my linux box.

I'm using redhat 9.0 without xwindows.

Thanking you in advance.
 
Old 02-28-2005, 03:09 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
Try these commands:
w
last
who
users



Håkan
 
Old 02-28-2005, 05:11 AM   #3
STeeF
LQ Newbie
 
Registered: Jan 2004
Location: Holland, Reeuwijk (near Gouda)
Distribution: Debian / Redhat 9 / Fedora Core 1
Posts: 8

Rep: Reputation: 0
the log files for the last logins are located in /var/log/auth.log or /var/log/secure . try using cat /var/log/auth.log|more for details
 
Old 02-28-2005, 06:21 AM   #4
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
Try 'cat /var/log/auth.log | grep session' as root.
 
  


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
how to View Current Logged In Users scialom Linux - Software 1 10-20-2004 11:13 AM
Any way to view the current processes? alyks Suse/Novell 7 10-18-2004 11:04 AM
iptables - view current nat translations msilvers Linux - Security 2 07-21-2004 01:19 AM
"View Recent Posts" option wanted deadseasquirrel LQ Suggestions & Feedback 6 04-23-2003 07:00 PM
A way to view your recent posts? deadseasquirrel LQ Suggestions & Feedback 5 04-23-2003 08:13 AM


All times are GMT -5. The time now is 01:14 PM.

Main Menu
Advertisement
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