LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to view recent and current logins? (https://www.linuxquestions.org/questions/linux-software-2/how-to-view-recent-and-current-logins-295751/)

QAR 02-28-2005 02:08 AM

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.

hw-tph 02-28-2005 02:09 AM

Try these commands:
w
last
who
users



Håkan

STeeF 02-28-2005 04:11 AM

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

harken 02-28-2005 05:21 AM

Try 'cat /var/log/auth.log | grep session' as root.


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