How can I record all login attempts?

Support for security such as Firewalls and securing linux
User avatar
Forum Moderator
Posts: 29955
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How can I record all login attempts?

Post by TrevorH » 2019/11/03 14:25:41

Seems to me adding such a thing seriously undermines the integrity of openssh and openssl. Or am I misunderstanding what is actually being requested?
No, I don't think you're misunderstanding it at all, those are exactly the concerns that I had when I called it a stupid idea :)
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

User avatar
Posts: 38
Joined: 2014/12/03 19:58:02

Re: How can I record all login attempts?

Post by Errosion » 2019/11/07 14:44:22

Put simply, you don't need to see the bad passwords to block accounts. You need the IP address/username of the account being attempted. That is already logged under /var/log/secure.

Post Reply

Return to “CentOS 7 - Security Support”