Enable securetty PAM module

Solution Verified - Updated -

Issue

  • securetty has been disabled by default since RHEL8 1. However, there is a security requirement to enable it.
  • The documentation mentions "add a line enabling the pam_securetty.so module to the appropriate files in the /etc/pam.d directory, and create a new /etc/securetty file". What is the exact procedure to enable the securetty PAM module in RHEL8/9?

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • PAM
    • pam_securetty

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