SV-271764r1092004_rule
V-271764
SRG-OS-000480-GPOS-00227
OL09-00-002426
CAT II
10
Configure the TFTP daemon to operate in secure mode.
Find the path for the systemd service.
$ sudo systemctl show tftp | grep FragmentPath=
FragmentPath=/etc/systemd/system/tftp.service
Edit the ExecStart line on that file to add the -s option with a subdirectory.
ExecStart=/usr/sbin/in.tftpd -s /var/lib/tftpboot
Verify that OL 9 TFTP daemon is configured to operate in secure mode.
Check if a TFTP server is installed with the following command:
$ sudo dnf list --installed tftp-server
Installed Packages
tftp-server.x86_64 5.2-38.el9 @ol9_appstream
Note: If a TFTP server is not installed, this requirement is Not Applicable.
If a TFTP server is installed, check for the server arguments with the following command:
$ systemctl cat tftp | grep ExecStart
ExecStart=/usr/sbin/in.tftpd -s /var/lib/tftpboot
If the "ExecStart" line does not have a "-s" option, and a subdirectory is not assigned, this is a finding.
V-271764
False
OL09-00-002426
Verify that OL 9 TFTP daemon is configured to operate in secure mode.
Check if a TFTP server is installed with the following command:
$ sudo dnf list --installed tftp-server
Installed Packages
tftp-server.x86_64 5.2-38.el9 @ol9_appstream
Note: If a TFTP server is not installed, this requirement is Not Applicable.
If a TFTP server is installed, check for the server arguments with the following command:
$ systemctl cat tftp | grep ExecStart
ExecStart=/usr/sbin/in.tftpd -s /var/lib/tftpboot
If the "ExecStart" line does not have a "-s" option, and a subdirectory is not assigned, this is a finding.
M
5680