SV-268136r1131076_rule
V-268136
SRG-OS-000105-GPOS-00052
ANIX-00-000850
CAT II
10
Configure NixOS to have a package that enforces multifactor authentication installed.
Add the following Nix code to the NixOS Configuration, usually located in /etc/nixos/configuration.nix or /etc/nixos/flake.nix:
environment.systemPackages = [
pkgs.opencryptoki
];
Rebuild and switch to the new NixOS configuration:
$ sudo nixos-rebuild switch
Verify NixOS has the packages required for multifactor authentication installed with the following command:
$ which p11sak
/run/current-system/sw/bin/p11sak
If the "p11sak" program is not found in PATH, this is a finding.
V-268136
False
ANIX-00-000850
Verify NixOS has the packages required for multifactor authentication installed with the following command:
$ which p11sak
/run/current-system/sw/bin/p11sak
If the "p11sak" program is not found in PATH, this is a finding.
M
5658