Increase password prompt timeout for CentOS 7
We are usually using ssh + keys to access our servers.
Recently I had to give a password to another person to enter into the login prompt in person at the client location, with monitor and keyboard and all. I wanted secure servers so I set all passwords to 50 random characters. Never actually tested that a normal person can enter them.
The problem is that shortly after you start entering the characters the password prompt resets. I'ts not that shortly, but its 50 characters...
Can I somehow get that timeout increased?
PS. I'm talking about this screen:
This should be possible to set in /etc/login.defs
with the value LOGIN_TIMEOUT
.
http://man7.org/linux/man-pages/man5/login.defs.5.html
LOGIN_TIMEOUT (number)
Max time in seconds for login.