e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
26 lines
536 B
Nix
26 lines
536 B
Nix
let
|
|
name = "pam";
|
|
in
|
|
import ../make-test-python.nix ({ pkgs, ... }: {
|
|
name = "pam-file-contents";
|
|
|
|
nodes.machine = { ... }: {
|
|
imports = [ ../../modules/profiles/minimal.nix ];
|
|
|
|
security.krb5.enable = true;
|
|
|
|
users = {
|
|
mutableUsers = false;
|
|
users = {
|
|
user = {
|
|
isNormalUser = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
testScript = builtins.replaceStrings
|
|
[ "@@pam_ccreds@@" "@@pam_krb5@@" ]
|
|
[ pkgs.pam_ccreds.outPath pkgs.pam_krb5.outPath ]
|
|
(builtins.readFile ./test_chfn.py);
|
|
})
|