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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content