I want to change login failure message in Debian 8 x64login: rootpassword:login incorrect - /this/login:Can you tell me how to do that?P.S.: and for more - how to set number of login attempts? Something like: 3 failed attempts and then 15min cooldown.
Change login failure message
debian;configuration;login;pam
Here: https://github.com/shadow-maint/shadow/blob/master/src/login.cit is hardcoded at line #834:(void) puts ();(void) puts (_(Login incorrect));So you have to modify the source then compile login.c for your system.ps: one question per post