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 11-05-2009, 05:17 PM   #1
mccartjd
Member
 
Registered: Apr 2008
Posts: 108

Rep: Reputation: 15
Smile How to notify users of last unsuccessful login after succesfully loggin in


Request for help. I'm not very savy with Linux so I need a little help with a requirement I've been tasked. Is there a way to inform the user after he/she logs into the GUI, using a pop-up screen or somthing, of the last login failure that was commited using their account?

We are using pam_tally 2 for our password security measures. The problem is the pam_tally log stores this information (failed login attempts) but the log is cleared for their account as soon they login succesfully.

Can we make a backup of the pam_tally log or somthing (every few seconds) and have the backup copy sent to the user screen, since the backup copy is not cleared? If this is a good idea what is the best way?

Take care,
Johnny Mac
 
Old 11-05-2009, 10:47 PM   #2
chiragrk
Member
 
Registered: Nov 2009
Location: India
Distribution: Xandros, Ubuntu
Posts: 74

Rep: Reputation: 16
Have you checked command `lastb` ? Maybe it'll be useful?
 
Old 11-11-2009, 02:59 AM   #3
ntvinh986
LQ Newbie
 
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by mccartjd View Post
Request for help. I'm not very savy with Linux so I need a little help with a requirement I've been tasked. Is there a way to inform the user after he/she logs into the GUI, using a pop-up screen or somthing, of the last login failure that was commited using their account?

We are using pam_tally 2 for our password security measures. The problem is the pam_tally log stores this information (failed login attempts) but the log is cleared for their account as soon they login succesfully.

Can we make a backup of the pam_tally log or somthing (every few seconds) and have the backup copy sent to the user screen, since the backup copy is not cleared? If this is a good idea what is the best way?

Take care,
Johnny Mac

Hi guys, Im a newbie. Nice to join this forum.
 
Old 11-11-2009, 07:02 AM   #4
slimm609
Member
 
Registered: May 2007
Location: Chas, SC
Distribution: slackware, gentoo, fedora, LFS, sidewinder G2, solaris, FreeBSD, RHEL, SUSE, Backtrack
Posts: 430

Rep: Reputation: 67
Quote:
Originally Posted by ntvinh986 View Post
Hi guys, Im a newbie. Nice to join this forum.
Hello Ntvinh986,

Please refrain from posting just to post/raise your post count.

Please read the "READ this before posting" located in the Linux-Newbie section.
 
  


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
Notify Space used to users sahil.jammu Linux - Newbie 6 04-04-2009 05:37 PM
Notify When End Users Install Anything? tbeehler General 2 05-04-2007 11:31 AM
how do i deny login after a certain no of unsuccessful attempts in fedora core2 darshan032002 Fedora 1 09-30-2004 01:03 AM
ssh login loggin PlatinumRik Linux - Security 1 05-02-2004 03:01 PM

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

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