How To
Summary
How to troubleshoot an "Illegal User" error
Objective
In this example, a local user reported a login failure. The specific error message was not reported by the user. The administrator confirmed the following:
- The local user has a valid entry in /etc/passwd
- The password is valid
- The user account is not locked
Steps
|
# vi /etc/syslog.conf
Add the following line:
auth.info /var/log/messages # touch /var/log/messages
# stopsrc -s syslogd # startsrc -s syslogd |
3) Examine the errors in /var/log/messages
| auth|security:err|error sshd[1234567]: error: PAM: Authentication failed for illegal user userA from xxx.xxx.xxx.xxx |
|
# lsuser -a SYSTEM userA
userA SYSTEM=CENTRIFYDC OR CENTRIFYDC[NOTFOUND] AND (compat) |
|
# vi /etc/security/user
See:
default:
SYSTEM = "CENTRIFYDC OR CENTRIFYDC[NOTFOUND] AND (compat)" userA:
admin = false
|
Temporary Resolution:
|
# vi /etc/security/user
userA:
Add:
SYSTEM = compat |
|
# vi /etc/syslog.conf
Comment out the following line (use '#'):
# auth.info /var/log/messages # stopsrc -s syslogd
# startsrc -s syslogd |
Additional Information
| SUPPORT |
|---|
|
AIX support teams do not use, or support CentrifyDC, One Identity (VAS), or other third-party user management systems. Consult your product vendor to resolve issues with their PAM methods.
If you require more AIX assistance, use the following step-by-step instructions to contact IBM to open a case for software with an active and valid support contract. 1. Document (or collect screen captures of) all symptoms, errors, and messages related to your issue. 2. Capture any logs or data relevant to the situation. 3. Contact IBM to open a case: -For electronic support, see the IBM Support Community: 4. Provide a clear, concise description of the issue. - For more information, see: Working with IBM AIX Support: Describing the problem. 5. If the system is accessible, collect a system snap, and upload all of the details and data for your case. - For more information, see: Working with IBM AIX Support: Collecting snap data |
Related Information
Was this topic helpful?
Document Information
Modified date:
14 April 2021
UID
ibm16443385