SV-269272r1050154_rule
V-269272
SRG-OS-000480-GPOS-00227
ALMA-09-021690
CAT II
10
Configure the TFTP daemon to operate in secure mode with the following command:
$ systemctl edit tftp.service
Insert the following between the two sets of comments, making sure to add the "-s" option with a nonroot ("/") directory.
[Service]
ExecStart=
ExecStart=/usr/sbin/in.tftpd -s /tftp
Note: If a TFTP server is not installed, this requirement is Not Applicable.
Verify the TFTP daemon is configured to operate in secure mode.
Check if a TFTP server is installed with the following command:
$ dnf list --installed tftp-server
Installed Packages
tftp-server.x86_64 5.2-37.el9 @appstream
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-269272
False
ALMA-09-021690
Note: If a TFTP server is not installed, this requirement is Not Applicable.
Verify the TFTP daemon is configured to operate in secure mode.
Check if a TFTP server is installed with the following command:
$ dnf list --installed tftp-server
Installed Packages
tftp-server.x86_64 5.2-37.el9 @appstream
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
5664