BaselineWatch
Apply as published
Desk

Linux RHEL-10-600640

DISA STIG RHEL-10-600640 (CAT I): RHEL 10 must enable the Pluggable Authentication Module (PAM) interface for SSHD.

DISA STIG recommends

RHEL-10-600640 CAT I

RHEL 10 must enable the Pluggable Authentication Module (PAM) interface for SSHD.

NIST SP 800-53: MA-4

Check

Verify RHEL 10 SSHD is configured to allow for the "UsePAM" interface with the following command: $ sudo /usr/sbin/sshd -dd 2>&1 | awk '/filename/ {print $4}' | tr -d '\r' | tr '\n' ' ' | xargs sudo grep -iH '^\s*usepam' UsePAM yes If the "UsePAM" keyword is set to "no", is missing, or is commented out, this is a finding.

Fix

Configure RHEL 10 SSHD to use the "UsePAM" interface by adding or modifying the following line in "/etc/ssh/sshd_config" or in a file in "/etc/ssh/sshd_config.d". UsePAM yes Restart the SSH daemon with the following command for the settings to take effect: $ sudo systemctl restart sshd.service

Our decision

Apply as published

No decision recorded: the recommendation stands. The owner signs in to change it.

All Linux decisions · The Linux baseline · The Linux test plan