SV-270741r1066712_rule
V-270741
SRG-OS-000125-GPOS-00065
UBTU-24-500050
CAT II
10
Configure Ubuntu 24.04 LTS to use strong authentication when establishing nonlocal maintenance and diagnostic sessions.
Add or modify the following line to /etc/ssh/sshd_config:
UsePAM yes
Verify Ubuntu 24.04 LTS is configured to use strong authenticators in the establishment of nonlocal maintenance and diagnostic maintenance with the following command:
$ sudo grep -r ^UsePAM /etc/ssh/sshd_config*
/etc/ssh/sshd_config:UsePAM yes
If "UsePAM" is not set to "yes", conflicting results are returned, the line is commented out, or is missing, this is a finding.
V-270741
False
UBTU-24-500050
Verify Ubuntu 24.04 LTS is configured to use strong authenticators in the establishment of nonlocal maintenance and diagnostic maintenance with the following command:
$ sudo grep -r ^UsePAM /etc/ssh/sshd_config*
/etc/ssh/sshd_config:UsePAM yes
If "UsePAM" is not set to "yes", conflicting results are returned, the line is commented out, or is missing, this is a finding.
M
5673