Open neverrend opened 4 years ago
Currently the app works in such a fashion that it accepts the username and turns it into an email. Should block certain usernames such as root to prevent automated attacks from bots looking for low hanging fruit.
It should check local users. The lookups for that are done by libnss_aad.
libnss_aad
Source: https://github.com/CyberNinjas/pam_aad/blob/master/pam_aad.c#L500
See: https://linux.die.net/man/3/pam_get_user
Currently the app works in such a fashion that it accepts the username and turns it into an email. Should block certain usernames such as root to prevent automated attacks from bots looking for low hanging fruit.