A PAM module to test SSH/SUDO passwords against HaveIBeenPwnd
github.com
github.com
I would assume that this module would be installed explicitly and deliberately by a company, organization, or group, and that the people who did that would inform their users.
(i.e. I don't expect this would be randomly installed on a machine accidentally. Though if you use a shared-hosting/shell-provider you probably have bigger concerns than a side-effect of this being present.)
I am thinking of the cases where a security org enables this on a jump box, but only sends an email that gets lost among the myriad of other emails that people do not read. It would be great if there was a banner that could be sent to make privacy and compliance teams happier.
I would guess that the kind of org that wanted this would probably be using some kind of automation so they could issue the notification via /etc/issue, /etc/issue.net, or similar central fashion.
Maybe I'm optimistic!