SV-279937r1208676_rule
V-279937
SRG-OS-000095-GPOS-00049
UBTU-22-215040
CAT II
10
Configure the Ubuntu operating system to disable nonessential capabilities by removing the nfs-kernel-server package from the system with the following commands:
Remove packages if present:
$ sudo apt purge --yes nfs-kernel-server
Remove any unneeded dependencies:
$ sudo apt autoremove --yes
Verify that NFS services are gone:
$ sudo systemctl list-units --type=service | grep nfs
Note: If NFS mounts are authorized and in use on the system, this control is not applicable.
Verify that Ubuntu does not have the nfs-kernel-server package installed.
Determine if packages are installed:
$ sudo dpkg -l | grep -E 'nfs-kernel-server'
If the nfs-kernel-server package is installed, this is a finding.
V-279937
False
UBTU-22-215040
Note: If NFS mounts are authorized and in use on the system, this control is not applicable.
Verify that Ubuntu does not have the nfs-kernel-server package installed.
Determine if packages are installed:
$ sudo dpkg -l | grep -E 'nfs-kernel-server'
If the nfs-kernel-server package is installed, this is a finding.
M
5594