Re: pam_tally2 and tallylog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Forgive my ignorance here. I don't know squat about databases. Thanks to everyone for the answers and suggestions. Barry, I'll check out pam_shield today.

On Jan 25, 2016 1:29 AM, <lists@xxxxxxxxxx> wrote:


On Sat, 23 Jan 2016, Phil Beckley wrote:


1. Why is tallylog a binary file? I would love to parse it like a log, but
that seems like a difficult task.

Thorsten has already answered why this is a binary file. It seems that you are trying to come up with a way to log failed login attempts. I have an idea for you that is somewhat unconventional:

Use pam_shield <http://www.heiho.net/pam_shield/> and instead of having it create iptables rules, have it echo a message to logger on a localx facility .. which will effectively allow you to have a log created of people failing to log in to your systems. You don't have to use logger or use syslog even .. rather you could run whatever command is interesting to you/meets your needs.

Hope this helps,
Barry

_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list
_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux