OCI: Specific User is Unable to Login To Instance
in Linux
Applies to
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Goal
This document outlines the steps required to recover from a failed login attempt for a specific user.
Symptoms
Unable to login to an instance via ssh for a specific user (user1), all other users are able to login with no issues.
The following messages are seen in /var/log/secure and via systemctl
# grep user1 /var/log/secure | tail Jun 27 10:23:54 hostname unix_chkpwd[27677]: could not obtain user info (user1) Jun 27 10:23:54 hostname sshd[27674]: fatal: Access denied for user user1 by PAM account configuration [preauth] Jun 27 10:24:09 hostname unix_chkpwd[27692]: could not obtain user info (user1) Jun 27 10:24:09 hostname sshd[27690]: fatal: Access denied for user user1 by PAM account configuration [preauth]
Tagged:
0