How can I record all login attempts?

Support for security such as Firewalls and securing linux
User avatar
TrevorH
Forum Moderator
Posts: 26942
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 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

User avatar
Errosion
Posts: 13
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”