TOSS 5 must enable the Pluggable Authentication Module (PAM) interface for SSHD.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-282504 | TOSS-05-000240 | SV-282504r1200492_rule | CCI-000877 | high |
| Description | ||||
| When "UsePAM" is set to "yes", PAM runs through account and session types properly. This is important when restricted access to services based off of IP, time, or other factors of the account are needed. Additionally, this ensures users can inherit certain environment variables on login or disallow access to the server. | ||||
| STIG | Date | |||
| Tri-Lab Operating System Stack (TOSS) 5 Security Technical Implementation Guide | 2026-04-01 | |||
Details
Check Text (C-282504r1200492_chk)
Verify the TOSS 5 SSHD is configured to allow for the "UsePAM" interface using 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 Text (F-86970r1200491_fix)
Configure the TOSS 5 SSHD to use the "UsePAM" interface, by adding or modifying the following line in "/etc/ssh/sshd_config":
UsePAM yes
Restart the SSH daemon for the settings to take effect:
$ sudo systemctl restart sshd.service