Change # of telnet login attempts Redhat Enterprise
I would like to change the number of login attempts a user can attempt when using telnet to connect to the server. Right now a user will get 4 attempts to enter the login and password before they get a "Connection to host lost" message. The user than has to telnet back into the server to try again. I do not want the telnet users to be locked out after so many attempts, i just want the connection to the host lost after 1 failed attempt. The server is Red Had Enterprise Linux Server release 5.3 (Tikanga). I am having difficulty finding this setting for telnet sessions any help would be appreciated. Thanks.
|
Hello,
Do the following: Code:
vi /etc/login.defs Cheers, Josh |
Is there any reason you are using telnet? SSH is more secure and supported by virtually everything so there is very little reason to not use it.
|
Quote:
|
Thanks for the logins.def information. Do you happen to know if there is a way for this setting to take effect without a reboot? Many users are connected to the server 24/7 so it makes reboots very difficult. We are using telnet because it it is an internal server and works better with some third party programs.
|
Quote:
I think for doing it on runtime you can use the command /etc/init.d/telnetd stop and start for the telnet process to start with the changed configuration. Hope this helps. |
All times are GMT -5. The time now is 08:39 AM. |