On Linux box, As 'root' user, I changed the nproc and nofile limits (soft limit) as unlimited in "/etc/security/limits.d/90-nproc.conf" and "/etc/security/limits.conf". After that I am not able to login into server. When I try to login by putty, if I give correct password, the putty window just closes without any message. If I enter wrong password, it throws 'Incorrect password' message and prompts again for password.
Please let me know why it's getting closed as soon as I give correct password.