Using pam_pkcs11.so pam module in RHEL6 gives "ERROR:pam_pkcs11.c:224: Remote login (from <hostname>:XX.X) is not (yet) supported"

Solution Unverified - Updated -

Issue

  • After changing the 'DISPLAY' variable name and using pam_pkcs11.so pam module via sudo command gives error
ERROR:pam_pkcs11.c:224: Remote login (from <hostname>:XX.X) is not (yet) supported
$sudo su -  
ERROR:pam_pkcs11.c:224: Remote login (from localhost:13.0) is not (yet) supported  
[sudo] password for psanders:
  • In RHEL5, above message comes in /var/log/secure only.

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.