LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-18-2008, 03:59 PM   #1
gzusgeek
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Rep: Reputation: 0
logging login attempts


I am trying to find a way to log all login attempts, successful and failed in RHEL5. I've seen the posts about using pam_tally for failed attempts but I can't seem to find anything on how to log successful logins.

Any suggestions?
 
Old 03-18-2008, 04:29 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
Quote:
Originally Posted by gzusgeek View Post
I am trying to find a way to log all login attempts, successful and failed in RHEL5. I've seen the posts about using pam_tally for failed attempts but I can't seem to find anything on how to log successful logins.

Any suggestions?
isn't all that already in /var/log/auth.log?
 
Old 03-18-2008, 05:29 PM   #3
beadyallen
Member
 
Registered: Mar 2008
Location: UK
Distribution: Fedora, Gentoo
Posts: 209

Rep: Reputation: 36
On my Fedora box I don't have an auth.log(I assume it's the same for RHEL), but all logins (successful or not) get logged in /var/log/secure.
 
Old 03-18-2008, 05:40 PM   #4
gzusgeek
LQ Newbie
 
Registered: Mar 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by beadyallen View Post
On my Fedora box I don't have an auth.log(I assume it's the same for RHEL), but all logins (successful or not) get logged in /var/log/secure.
I knew I had seen it somewhere. The authpriv facility in /etc/syslog.conf. I hope someone comes up with a mod my memory leaks.

Thanks!
 
  


Reply



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
SSH login attempts Capt_Caveman Linux - Security 225 11-07-2009 09:55 AM
OpenSSH - how to force logging of failed attempts? haertig Linux - Security 4 06-07-2006 05:49 PM
Limiting Login Attempts chesp3 Linux - Security 6 05-16-2005 09:18 PM
Login attempts phatboyz Linux - Security 1 10-11-2004 01:57 PM
limiting the login attempts ry Linux - General 2 02-19-2003 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:49 AM.

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
Open Source Consulting | Domain Registration