pam_access fails with hostname while works fine with IP address
Issue
pam_access which refers /etc/security/access.conf for access management does not work with hostname while it works fine when IP address is used.
+ : testuser : host.example.com <------- Does not work
+ : testuser : 10.0.0.1 <------- Works fine
Environment
- OS Versions
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Software packages
- openssh-server
- pam
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.