NixOS must not have the telnet package installed.
An XCCDF Rule
Description
Passwords need to be protected at all times, and encryption is the standard method for protecting passwords. If passwords are not encrypted, they can be plainly read (i.e., clear text) and easily compromised.
- ID
- SV-268131r1039281_rule
- Version
- ANIX-00-000780
- Severity
- High
- References
- Updated
Remediation Templates
A Manual Procedure
Edit the NixOS Configuration file with "nano /etc/nixos/configuration.nix" and remove any references to pkgs.libtelnet, pkgs.busybox, or pkgs.inetutils from the environment.systemPackages list.
Rebuild the NixOS configuration with the following command:
$ sudo nixos-rebuild switch