LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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, 06:17 PM   #1
mccartjd
Member
 
Registered: Apr 2008
Posts: 107

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, 11: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, 03: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, 08:02 AM   #4
slimm609
Member
 
Registered: May 2007
Location: Chas, SC
Distribution: slackware, gentoo, fedora, LFS, sidewinder G2, solaris, FreeBSD, RHEL, SUSE, Backtrack
Posts: 428

Rep: Reputation: 65
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


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


All times are GMT -5. The time now is 03:50 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