5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
26 lines
527 B
Nix
26 lines
527 B
Nix
let
|
|
name = "pam";
|
|
in
|
|
import ../make-test-python.nix ({ pkgs, ... }: {
|
|
name = "pam-file-contents";
|
|
|
|
nodes.machine = { ... }: {
|
|
imports = [ ../../modules/profiles/minimal.nix ];
|
|
|
|
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);
|
|
})
|