User not able to login suddenly in redhat server


#1

from today suddenly one user is not able to login to the server, but other users are able to login, password is active and not expired, ssh running in client and server (other users from client are able to login),
can any one pls let me know what are the possible reasons that i can check to troublesoot the issue,
OS : REDHAT 7


#2

check the status of the user the most common reasons are

  1. user account has bee locked or not
  2. if you are unable to login through ssh then check the user ssh keys, may be keys are moved to other location.

location of ssh keys

#cd /home/user/.ssh/ 

Still unable to access recreate the same user remove the user account and re create the account.