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?
This should be possible to set in
/etc/login.defs
with the valueLOGIN_TIMEOUT
.http://man7.org/linux/man-pages/man5/login.defs.5.html
Change Login Grace Time . set 1 minutes or 5 mins as per your requirements
if wants to disable login session during ssh login set
for more info - https://linux.die.net/man/5/sshd_config